Class PlayerSwitchHotbarSlotEvent.Post

Enclosing class:
PlayerSwitchHotbarSlotEvent

public static class PlayerSwitchHotbarSlotEvent.Post extends PlayerSwitchHotbarSlotEvent
Fired after all the slot switching logic is successfully performed. This event is not cancellable. If you cancelled the pre event, this event will not be received by listeners as well.
  • Constructor Details

    • Post

      @Internal public Post(Player player, int oldSlotIndex, int newSlotIndex)