Using the boss health bar

Discussion in 'Plugin Development' started by joatin37, Sep 7, 2012.

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

    joatin37

    Is there a to get the boss health bar somehow? I would like to use it for custom mobs.
     
  2. Offline

    sprockbot

    Spawn a invis wither where player is looking and rename him to what you want
     
    bennie3211 likes this.
  3. Offline

    bennie3211

    and if its possible, stop the wither skulls and sounds, but idk if sounds can be turned off
     
  4. Offline

    chasechocolate

    Alex5657 likes this.
  5. Offline

    KevoSoftworks

    Yup, the only way to achieve that is by using packets, but even then it can be hard, since some of the health bar info is defined client-sided. You can give it a shot though.
     
  6. Offline

    chasechocolate

    KevoSoftworks with the new entity name tag feature in 1.5, you can customize the entity name which will be the text shown on the health bar.
     
  7. Offline

    KevoSoftworks

  8. Offline

    ritipinheiro

    i see in a server broadcast whit boss health, how :p
     
  9. Offline

    bennie3211

    Question, never worked with packets, but is it possible to send them to a specified player only?
     
  10. Offline

    Burnett1

  11. Offline

    chasechocolate

    You need to have CraftBukkit in the build path:
    Code:java
    1. ((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);
     
  12. Offline

    sprockbot

    what packet is it then?
     
  13. Offline

    skipperguy12

Thread Status:
Not open for further replies.

Share This Page