Animations+
Animations for CommandPanels
How to animate an item
To animate an item, you will need to add the following to the top of your panel like so (on the bottom line):
If the number is 6 for example, it will loop from 0 to 6, so animations will be split into 6 stages for this example. To change the speed that it loops through 0 to 6, that will be found in the main config.yml as "refresh-delay".
The example above, will loop through the seven (0 to 6) animate values. If you are for example missing the number 3, it will simply display the default item when it reaches 3 in the loop (a BARRIER in the script above is the default item).
These animate tags can be added into any item, except for hotbar items. You can also include animations inside of any Has Section.
Last updated