Class PlayerEvents
java.lang.Object
net.ixdarklord.coolcatcore.api.event.v2.common.PlayerEvents
Players joining and leaving the server, their tick, respawning and changing dimension.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA player went from one dimension to another, by portal or teleport; they are already in the new one.static interfaceThe game made a new player object for a player who died or came back from the End, and is copying them over: the place to carry over what the game doesn't (attachments kept through death already are).static interfaceAfter a player ticks, on both sides; checkplayer.level().isClientSide().static interfaceA player finished logging in and is in the level.static interfaceA player is logging out.static interfaceA player is back in the world after dying or leaving the End (the new player object).static interfaceBefore a player ticks, on both sides; checkplayer.level().isClientSide(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventInvoker<PlayerEvents.ChangeDimension> static final EventInvoker<PlayerEvents.Clone> static final EventInvoker<PlayerEvents.EndTick> static final EventInvoker<PlayerEvents.Join> static final EventInvoker<PlayerEvents.Leave> static final EventInvoker<PlayerEvents.Respawn> static final EventInvoker<PlayerEvents.StartTick> -
Method Summary
-
Field Details
-
JOIN
-
LEAVE
-
START_TICK
-
END_TICK
-
CLONE
-
RESPAWN
-
CHANGE_DIMENSION
-