Item Stack Element

Scripting with the ItemStackElement class.

The ItemStackElement class is a VisualElement that represents an Item Stack.

Fields & Properties

Name
Description
Type
Access

itemStack

The item stack reference.

ItemStack

public

iconElement

The visual element that displays the item icon.

VisualElement

public

amountLabel

The label that displays the stack amount of the item.

Label

public

equippedIndicatorElement

The element that indicates that the item is currently equipped.

VisualElement

public

dragElement

The element created when the item stack is being dragged.

VisualElement

protected

Last updated