Skip to main content

Module inventory

Module inventory 

Source
Expand description

Inventory framework — real Container/Menu screens (BlockEntity-backed), as opposed to ui’s HUD-drawn overlays. See yog-inventory’s DESIGN.md.

Structs§

InventoryDef
Describes one inventory-backed screen: how many slots a mod block has, where they sit, whether the player’s own inventory is appended below, and which background texture to draw (vanilla default, or a mod’s own).
SlotLayout
Pixel position of a single slot in vanilla GUI coordinate space.