@FunctionalInterface public static interface ServerEntityWorldChangeEvents.AfterPlayerChange
Modifier and Type | Method and Description |
---|---|
void |
afterChangeWorld(net.minecraft.server.network.ServerPlayerEntity player,
net.minecraft.server.world.ServerWorld origin,
net.minecraft.server.world.ServerWorld destination)
Called after a player has been moved to different world.
|
void afterChangeWorld(net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.server.world.ServerWorld origin, net.minecraft.server.world.ServerWorld destination)
player
- the playerorigin
- the original world the player was indestination
- the new world the player was moved to