Modded mobs and Bukkit plugins

Discussion in 'Plugin Development' started by RandomPanda30, Apr 12, 2015.

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

    RandomPanda30

    Hai there, I've been working on a plugin for a few days now that will change the amount of XP dropped when a mob dies. This works fine with vanilla mobs when I use "EntityDeathEvent". However, it doesn't work with modded mobs which I would expect it to do since the mobs are entities. Is there something missing here or another way how to check if the mobs modded? Or simply do I need to use another event? I'm just rather confused since it should work because the modded mob is an entity D:

    ~ Panda
     
  2. Offline

    Aces_Charles

    You could try using the EntityDamageEntityEvent but I doubt that would work if the EntityDeathEvent isn't triggered.
     
  3. Offline

    RandomPanda30

    Hmm could do although then again how would I check for the modded mobs?....
     
Thread Status:
Not open for further replies.

Share This Page