GUIAnimatedItem
How to create the animated item
Ok, so after creating an ItemAnimation object and a GUItem object, you can now create the GUIAnimatedItem object. To do that, you have to write something like this:
GUItem item = new GUICustomItem(Material.BARRIER);
// All the item configurations ...
ItemAnimation animation = new ItemAnimation(0, true);
// All the animation configurations ...
GUIAnimatedItem animatedItem = new GUIAnimatedItem(item, animation);
Then, after creating the GUIAnimatedItem, you can go to the next page where you can see how to put it into the McGUI.
Last updated
Was this helpful?