PlayerEvent

interface PlayerEvent<T : FabricEvent<out Any>?> : FabricEvent<T>

Player event

Parameters

<T>

registry type

Inheritors

Functions

Link copied to clipboard
@NotNull
abstract fun getRegistry(): @NotNull EventRegistry<T>
Gets registry of this event.
Link copied to clipboard
@NotNull
abstract fun player(): @NotNull ServerPlayer
Gets triggered player.