Skip to main content

Module enchantment_menu

Module enchantment_menu 

Source
Expand description

Enchanting table menu.

Structsยง

EnchantmentKind
Per-menu enchanting table state: the two table slots, the seeded offers, and their client mirrors.

Constantsยง

ENCHANT_SOUND_MIN_PITCH ๐Ÿ”’
ENCHANT_SOUND_PITCH_RANGE ๐Ÿ”’
ITEM_SLOT ๐Ÿ”’
Index of the item to enchant within enchant_slots.
LAPIS_SLOT ๐Ÿ”’
Index of the lapis lazuli within enchant_slots.
OFFER_COUNT ๐Ÿ”’
TABLE_SLOT_COUNT ๐Ÿ”’
Combined item and lapis slot count.

Functionsยง

enchantment
Builds the enchanting table menu for the table at pos.