Rosegold::Menu
Inherits Reference / Object
Abstract base for all menu types (player inventory, chest, furnace, etc.) Replaces the previous InventoryOperations module + InventoryMenu/ContainerMenu split.
Constructors
Instance methods
check_and_fix_desync
Sourceclose
Sourcecontainer_slots
Sourcecontent
Sourcecrafting_grid_range
Slot indices for the crafting grid (1..9 for crafting table, 1..4 for player inventory).
crafting_result_move_end
Exclusive end index for moving crafting results into player inventory.
cursor
Sourcecursor=(cursor : Rosegold::Slot)
Sourcehandle_close
Sourcehotbar
Sourcehotbar_slots
Sourcehotbar_window_slots
Sourceid
Sourceinventory
Sourceinventory_slots
Sourcemain_hand
Sourcemain_inventory_slots
Sourcemove_item_stack_to(source_index : Int32, target_start : Int32, target_end : Int32, reverse : Bool = false) : Bool
Sourceplayer_inventory_slots
Sourceplayer_window_slots
SourceShift-click routing (each menu subclass defines where items move)
slots
Sourcestate_id
Sourcestate_id=(state_id : UInt32)
Sourceswap_hotbar(hotbar_nr, slot : Rosegold::WindowSlot)
Sourceswap_hotbar(hotbar_nr, slot_number)
Sourceto_s(io)
Sourcetotal_slots
Source