Solved Entity Death Event question

Discussion in 'Plugin Development' started by sockmonkey1, Feb 25, 2014.

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


    I might be over thinking this, but on the entity death event is the location like where the entity was first killed or, where they actually die and turn into smoke? For example I'm making a plugin where when you right click an egg it spawns a dead chicken but I need the location it lands.

    1. @EventHandler
    2. public void onEnityDeath(EntityDeathEvent e) {
    3. e.getEntity().getLocation();
    4. }
  2. Offline


    It's where the entity was killed.
  3. Offline


    Ah crap... Well thanks. Isn't there an EntityMoveEvent?
Thread Status:
Not open for further replies.

Share This Page