Skip to content

Variable: GUI_CONTAINER_LAYOUTS ​

ts
const GUI_CONTAINER_LAYOUTS: object;

Defined in: packages/minerender/src/gui/GuiHelper.ts:7

Container coordinates in GUI pixels. Crops refer to vanilla's 256×256 sheets; GuiHelper.container scales them for resource packs.

Type Declaration ​

crafting_table ​

ts
readonly crafting_table: object;

crafting_table.crop ​

ts
readonly crop: readonly [0, 0, 176, 166];

crafting_table.resultPosition ​

ts
readonly resultPosition: readonly [124, 35];

crafting_table.rowSize ​

ts
readonly rowSize: 3 = 3;

crafting_table.slotCount ​

ts
readonly slotCount: 9 = 9;

crafting_table.slotOffset ​

ts
readonly slotOffset: readonly [18, 18];

crafting_table.slotOrigin ​

ts
readonly slotOrigin: readonly [30, 17];

crafting_table.texture ​

ts
readonly texture: "minecraft:gui/container/crafting_table" = "minecraft:gui/container/crafting_table";

generic_54 ​

ts
readonly generic_54: object;

generic_54.crop ​

ts
readonly crop: readonly [0, 0, 176, 222];

generic_54.rowSize ​

ts
readonly rowSize: 9 = 9;

generic_54.slotCount ​

ts
readonly slotCount: 54 = 54;

generic_54.slotOffset ​

ts
readonly slotOffset: readonly [18, 18];

generic_54.slotOrigin ​

ts
readonly slotOrigin: readonly [8, 18];

generic_54.texture ​

ts
readonly texture: "minecraft:gui/container/generic_54" = "minecraft:gui/container/generic_54";