class

Rosegold::EnchantmentMenu

Inherits Rosegold::ContainerMenu / Rosegold::Menu / Reference / Object

Enchantment table menu — 2 slots: item(0), lapis(1).

Constructors

new(client : Client, id : UInt8, title : Chat)
Source

Instance methods

get_slot_max_stack_size(slot_index : Int32, item_slot : Rosegold::Slot) : Int32
Source
item
Source
lapis
Source
may_place?(slot_index : Int32, item_slot : Rosegold::Slot) : Bool

Slot validation

Source
quick_move_stack(slot_index : Int32) : Rosegold::Slot

Shift-click routing (each menu subclass defines where items move)

Source