Interface ServerEntityWorldChangeEvents.AfterPlayerChange

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.

@FunctionalInterface public static interface ServerEntityWorldChangeEvents.AfterPlayerChange
  • Method Details

    • afterChangeWorld

      void afterChangeWorld(ServerPlayerEntity player, ServerWorld origin, 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