Rosegold::PlayerInventory
Inherits Reference / Object
Persistent player inventory that matches vanilla Minecraft's model. This inventory never changes structure (always 36 slots) and persists across container operations.
Constants
HOTBAR_SIZE = SlotOffsets::HOTBAR_SIZE
INVENTORY_SIZE = SlotOffsets::PLAYER_INVENTORY_SIZE
MAIN_INVENTORY_SIZE = SlotOffsets::MAIN_INVENTORY_SIZE
Constructors
new
SourceInstance methods
Get selected hotbar slot (based on client selection)
to_s(io)
SourceUpdate a specific slot (used by packet handlers)
Update multiple slots (used by SetContainerContent)