copyFromPlayer

abstract void copyFromPlayer(ServerPlayerEntity oldPlayer, ServerPlayerEntity newPlayer, boolean alive)

Called when player data is copied to a new player.

Parameters

oldPlayer

the old player

newPlayer

the new player

alive

whether the old player is still alive

Sources

jvm source
Link copied to clipboard