Skip to content

Interface: GuiItemLayer ​

Defined in: packages/minerender/src/gui/GuiLayer.ts:20

Extends ​

  • GuiLayerLayout

Properties ​

PropertyTypeDescriptionInherited fromDefined in
itemstring | AssetKeyModel key, such as minecraft:item/stone; uses the model's GUI display pose.-packages/minerender/src/gui/GuiLayer.ts:22
name?string-GuiLayerLayout.namepackages/minerender/src/gui/GuiLayer.ts:7
position?[number, number]Top-left position; x grows right and y grows down. Defaults to [0, 0].GuiLayerLayout.positionpackages/minerender/src/gui/GuiLayer.ts:9
size?[number, number]Output width and height; defaults to the texture crop size or [16, 16] for items.GuiLayerLayout.sizepackages/minerender/src/gui/GuiLayer.ts:11
tints?Record<number, number>sRGB 0xRRGGBB colors by face tint index; omitted indices stay white.-packages/minerender/src/gui/GuiLayer.ts:24