Compass animation

Discussion in 'Plugin Development' started by BullstrikeMC, Dec 30, 2015.

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

    BullstrikeMC

    Hello guys :)

    How can i make this animation?

    First:
    [​IMG]
    Second:
    [​IMG]

    The arrow appears and disappears.
    I've been trying for a long time. I even browsed the internet, but no luck.
    How can i make?

    Thanks :D
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    BullstrikeMC

    First:
    [​IMG]
    Second:
    [​IMG]

    is in lore, description
     
  4. Offline

    timtower Administrator Administrator Moderator

    @BullstrikeMC BukkitRunnable that is changing the item in the inventory and updating it every ... time
     
  5. Offline

    mrCookieSlime

    @BullstrikeMC
    Just use Inventory#setItem on an interval, make a local boolean.
    If it's true set it to the Item with that Arrow, otherwise set it to the Item without it.
     
  6. Offline

    BullstrikeMC

    can you make an example for me, please ?
     
  7. Create an int or double, then create a Runnable. Every second, change the item to have, or not have the arrow. Then set it again to make it show up.
     
  8. Offline

    timtower Administrator Administrator Moderator

  9. Offline

    87pen

    It's obviously for the people who think booleans are to mainstream bruh. 2spooky4me.
     
    WolfMage1 and Zombie_Striker like this.
  10. While making a long reply, you could also use a boolean lol, and toggle that boolean every second I guess
     
  11. Offline

    iAmGuus

    We're not here to give you code that you'll copy without knowing what it does. From all the information you got from everyone here you are definitely able to create what you want.
     
Thread Status:
Not open for further replies.

Share This Page