Animated v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
An animated slot element cycles through the item stack which is on display and executes an action when clicked.
It looks like:
{
"type": "Animated",
"index": 3,
"interval": 0,
"random": false,
"items": [],
"action": {}
}
Specifies the type of the slot element. This should be "Animated"
.
Which slot of the inventory the element should display in. Each slot element in an inventory should have a different index. This is an integer.
Specifies how fast long an item stack is shown before changing. This is an integer.
Whether the displayed stack should be chosen randomly or go in order. This is a boolean.
These are the items that can be displayed. This is an array of objects. See Common Types v3.
This is the action to execute when clicked. This is an object. See Actions v3.