Package-level declarations
Types
The same as Event but with additional async collectors (via a flow). This allows you to listen to the event asynchronously in a totally different CoroutineScope, and unregister via cancellation of that scope. To create an event of this type, have a look at the Event.syncAsync and Event.syncAsyncImmutable functions.
A property which wraps a variable of type V. Its value can only be mutated inside a MutableEventScope, which protects it from misuse.
A simple instance class keeping track of a registered listener and making it possible to unregister it later.
A marker which can be passed to event handlers to make the event scope mutable. Functions which mutate the scope will require this marker in the context.
Properties
Events for net.minecraft.world.entity.Entity. This includes players.
Events for actions specifically related to net.minecraft.world.entity.player.Player. For more general events, see Events.Entity.
Events related to the net.minecraft.server.MinecraftServer.