@FunctionalInterface public static interface ServerPlayerEvents.AfterRespawn
Modifier and Type | Method and Description |
---|---|
void |
afterRespawn(net.minecraft.server.network.ServerPlayerEntity oldPlayer,
net.minecraft.server.network.ServerPlayerEntity newPlayer,
boolean alive)
Called after player a has been respawned.
|
void afterRespawn(net.minecraft.server.network.ServerPlayerEntity oldPlayer, net.minecraft.server.network.ServerPlayerEntity newPlayer, boolean alive)
oldPlayer
- the old playernewPlayer
- the new playeralive
- whether the old player is still alive