I'm creating a mod where a given set of mobs are part of a wave, and when the player kills all of the enemies he is teleported onto the next level with a new wave.
However, I've found a really strange problem. When creeper's explode, they are not firing ANY LivingDeath event.So far our mod is working ok, with all other kinds of enemies appropriately firing the LivingDeath event, but just not when a creeper explodes.
Has anyone else had this kind of problem? If so, is there some other way to watch and react to creeper explosion deaths?
Thanks for any insight anyone has!
With the code below I'm logging all of the LivingDeath events.
@SubscribeEvent
void onDeath(LivingDeathEvent e) {
if(e.getEntity().getEntityWorld().isRemote){
return;
}
Utils.getLogger().info("Enemy Dead: " + e.getEntity().getUniqueID());
}