public final class ServerPlayerEvents extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServerPlayerEvents.AfterRespawn |
static interface |
ServerPlayerEvents.CopyFrom |
Modifier and Type | Field and Description |
---|---|
static Event<ServerPlayerEvents.AfterRespawn> |
AFTER_RESPAWN
An event that is called after a player has been respawned.
|
static Event<ServerPlayerEvents.CopyFrom> |
COPY_FROM
An event that is called when the data from an old player is copied to a new player.
|
public static final Event<ServerPlayerEvents.CopyFrom> COPY_FROM
This event is typically called before a player is completely respawned. Mods may use this event to copy old player data to a new player.
public static final Event<ServerPlayerEvents.AfterRespawn> AFTER_RESPAWN
Mods may use this event for reference clean up on the old player.