Class PlayerStopSneakingEvent

java.lang.Object
net.minestom.server.event.player.PlayerStopSneakingEvent
All Implemented Interfaces:
Event, EntityEvent, EntityInstanceEvent, InstanceEvent, PlayerEvent, PlayerInstanceEvent

public class PlayerStopSneakingEvent extends Object implements PlayerInstanceEvent
Called when a player stops sneaking.
  • Constructor Details

    • PlayerStopSneakingEvent

      public PlayerStopSneakingEvent(@NotNull @NotNull Player player)
  • Method Details

    • getPlayer

      @NotNull public @NotNull Player getPlayer()
      Description copied from interface: PlayerEvent
      Gets the player.
      Specified by:
      getPlayer in interface PlayerEvent
      Returns:
      the player