Interface PlayerEvents.Respawn
- Record Components:
fromEnd- true when coming back from the End, false after death
- Enclosing class:
PlayerEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A player is back in the world after dying or leaving the End (the new player object).
-
Method Summary
Modifier and TypeMethodDescriptionvoidonRespawn(net.minecraft.server.level.ServerPlayer player, boolean fromEnd)
-
Method Details
-
onRespawn
void onRespawn(net.minecraft.server.level.ServerPlayer player, boolean fromEnd)
-