Skip to content

ItemStackTexture

ItemStackTexture will display items in a loop.

Basic Properties

FieldDescription
itemsArray of item stacks used by the texture
colorColor overlay applied to the item stack texture

APIs

setItems

Sets the items.

java
itemStackTexture.setItems(item1, item2);

setColor

Sets the color overlay for the item stack texture.

java
itemStackTexture.setColor(0xffff00ff);

Released under the MIT License.