Enderdragon Health Bar

Discussion in 'Plugin Development' started by 97WaterPolo, Sep 13, 2014.

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

    97WaterPolo

    So I haven't really been paying attention to the 1.8 aspect of MC, from what I heard the ender dragon bar does not work anymore in 1.8, if that is the case why so? I am using an enderdragon bar at the moment ~ 300 blocks below the player, and I am looking to get ready to update to 1.8. If there is a case where the endragon won't work, is there an alternative to it in which I can still keep the boss bar aspect?
     
  2. Offline

    Jimfutsu

    Are you using BarAPI?
     
  3. Offline

    xize

    well there is a more non hacky alternative though.

    spawn a enderdragon, and spawn a wither skull with a velocity of 0,0,0 then let the enderdragon sit on it and give it a name.

    if it doesn't work let me know I don't really know what I did to make it not explode though but this still works for me:p

    -edit-
    just checked, it comes down to:

    spawn a enderdragon, give it setNoDamageTicks() of 200000 then spawn a wither skull with a velocity of 0,0,0 and set the enderdragon as passenger on the wither skull it only explodes when it hits something but if the dragon already sits long enough due the no damage ticks it starts ignoring and doesn't explode.
     
  4. Offline

    indyetoile

    xize
    Not sure if that Integer will work. Use Integer.MAX_VALUE instead.
     
Thread Status:
Not open for further replies.

Share This Page