Animated items

Discussion in 'Plugin Development' started by TheUncleBarto, Feb 20, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    TheUncleBarto

    Hello, good afternoon, nights, day, or whatever in your country ...
    I am creating a complement of menus, and I need a way to create animated itemstacks, and that the materials of the itemstacks are in an ArrayList of
    a configuration file, what I don't know how to do is serialize the lists to be able to go through each one individually. I will give an example of what I am trying to say.
    Code:
    Inventory:
      1:
       Material:
       - 'DIAMOND'
       - 'GOLD'
      2:
      Material:
      - 'COAL'
      - 'STONE'
      - 'REDSTONE'
      3:
      Material:
      - 'EMERALD_BLOCK'
    
    Going through the materials I think I know how I could do it, just a BukkitTask. Well, I appreciate any help in advance.
     
  2. Offline

    Kars

    You answered your own question. Schedule a repeating task that changes the item. What else do you need to know?
     
Thread Status:
Not open for further replies.

Share This Page