Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Contains information regarding an event after changing the selected hotbar slot for a player.
Properties
itemStack
read-only itemStack?: ItemStack;
The item stack of the new slot selected.
Type: ItemStack
newSlotSelected
read-only newSlotSelected: number;
The new hotbar slot index selected.
Type: number
player
read-only player: Player;
Source Player for this event.
Type: Player
previousSlotSelected
read-only previousSlotSelected: number;
The previous hotbar slot index selected.
Type: number