Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.21.X] Improved Event System #597

Open
wants to merge 2 commits into
base: 1.21.x
Choose a base branch
from

Conversation

RealMangorage
Copy link
Collaborator

@RealMangorage RealMangorage commented Nov 27, 2024

This PR aims to improve the event system to make it possible for more flexible systems, such as being able to put additional parameters/return types.

E.G you could do in this system:
EnterRoomEvent

  boolean handle(ServerLevel level, RoomInstance room, ItemStack upgrade);
  
  boolean being if cancelled.

I can make adjustments if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant