Contains information regarding an event after changing the selected hotbar slot for a player.

Constructors

Properties

itemStack?: ItemStack

The item stack of the new slot selected.

newSlotSelected: number

The new hotbar slot index selected.

player: Player

Source Player for this event.

previousSlotSelected: number

The previous hotbar slot index selected.