Class PlayerChangeEquippedItemEvent

java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.PlayerChangeEquippedItemEvent

public final class PlayerChangeEquippedItemEvent extends PlayerEvent
Called when a player changes the equipped item.
  • Method Details

    • getItemSlot

      public byte getItemSlot()
    • getItemSlotType

      public Inventory.SlotType getItemSlotType()
    • getPreviousItemSlot

      public byte getPreviousItemSlot()
    • getPreviousItemSlotType

      public Inventory.SlotType getPreviousItemSlotType()
    • getItem

      public Item getItem()