- Enclosing class:
ServerEntityWorldChangeEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
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.
-
Method Details
-
afterChangeWorld
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.
- Parameters:
player
- the player
origin
- the original world the player was in
destination
- the new world the player was moved to