Skip to main content

Module container

Module container 

Source

Structsยง

InvalidHotbarSlot
Error returned when a carried-item packet selects a non-hotbar slot.

Staticsยง

EMPTY_ITEM ๐Ÿ”’
Static empty item stack for returning references to invalid slots.

Functionsยง

armor_equipment ๐Ÿ”’
The equipment slot for an armor/offhand container index.
slot_to_equipment ๐Ÿ”’
Maps vanilla player-container indices 36-42 to equipment slots.