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>
Link copied to clipboard
@NotNull
abstract fun player(): @NotNull ServerPlayer