module
Rosegold::SlotOffsets::InventoryMenuOffsets
Overview
InventoryMenu slots: [crafting_result(0), crafting(1-4), armor(5-8), main(9-35), hotbar(36-44), offhand(45)]
Defined in:
rosegold/inventory/slot_offsets.crClass Method Summary
-
.hotbar_slot_index(hotbar_nr : Int32) : Int32
Get the absolute slot index for a hotbar slot in inventory menu
-
.hotbar_start_index : Int32
Get the start index for hotbar slots in inventory menu
-
.main_inventory_start_index : Int32
Get the start index for main inventory slots in inventory menu
-
.offhand_slot_index : Int32
Get the absolute slot index for offhand in inventory menu
Class Method Detail
Get the absolute slot index for a hotbar slot in inventory menu
Get the start index for hotbar slots in inventory menu
Get the start index for main inventory slots in inventory menu
Get the absolute slot index for offhand in inventory menu