Skip to content

ItemStackTexture

ItemStackTexture will display items in a loop.

Basic Properties

Field Description
items Array of item stacks used by the texture
color Color overlay applied to the item stack texture

APIs

setItems

Sets the items.

itemStackTexture.setItems(item1, item2);

setColor

Sets the color overlay for the item stack texture.

itemStackTexture.setColor(0xffff00ff);