Variable: animation - ScreamingSandals/SimpleInventories GitHub Wiki
animation
Animations is variable for make animations in your inventory. It's list of ItemStack and speed of this animation is 1 second. You still have to determine stack variable.
Yaml:
- stack: ...
animation:
- DIRT
- STONE
- type: SPONGE
display-name: "Spongeee!!"
- DIAMOND_SWORD
Groovy:
item('...') {
animation {
stack 'DIRT'
stack 'STONE'
stack ('SPONGE') {
name 'Spongeee!!'
}
stack 'DIAMOND_SWORD'
}
}