MaxHealth of dead Entity

Discussion in 'Plugin Development' started by paxi, Jun 21, 2014.

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

    paxi

    Hello everybody,

    is it possible to get the MaxHealth attribute of an entity which died? About the EntityDeathEvent?

    Thanks :)
     
  2. Offline

    MrSparkzz

    Code:java
    1. Entity entity = event.getEntity();
    2. Double MaxHealth = entity.getMaxHealth();

    That should do it.
     
Thread Status:
Not open for further replies.

Share This Page