Class ServerPlayerEvents
java.lang.Object
net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
public final class ServerPlayerEvents extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerPlayerEvents.AfterRespawnstatic interfaceServerPlayerEvents.CopyFrom -
Field Summary
Fields Modifier and Type Field Description static Event<ServerPlayerEvents.AfterRespawn>AFTER_RESPAWNAn event that is called after a player has been respawned.static Event<ServerPlayerEvents.CopyFrom>COPY_FROMAn event that is called when the data from an old player is copied to a new player. -
Method Summary
-
Field Details
-
COPY_FROM
An event that is called when the data from an old player is copied to a new player.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.
-
AFTER_RESPAWN
An event that is called after a player has been respawned.Mods may use this event for reference clean up on the old player.
-