Class PlayerSelectedSlotChangeEvent

java.lang.Object
com.loohp.limbo.events.Event
com.loohp.limbo.events.player.PlayerEvent
com.loohp.limbo.events.player.PlayerSelectedSlotChangeEvent
All Implemented Interfaces:
Cancellable

public class PlayerSelectedSlotChangeEvent extends PlayerEvent implements Cancellable
  • Constructor Details

    • PlayerSelectedSlotChangeEvent

      public PlayerSelectedSlotChangeEvent(Player player, byte slot)
  • Method Details

    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface Cancellable
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Cancellable
    • getSlot

      public byte getSlot()
    • setSlot

      public void setSlot(byte slot)