Ejemplo n.º 1
0
 public void performEffect(World world, int x, int y, int z, EntityPlayer player, Entity entity) {
   entity.attackEntityFrom(DamageSource.causeIndirectMagicDamage(entity, player), 1000000.0F);
   super.performEffect(world, x, y, z, player, entity);
 }
Ejemplo n.º 2
0
 public void beginSpell(World world, int x, int y, int z, EntityPlayer player, Entity entity) {
   if (!(entity instanceof IBossDisplayData)) {
     super.beginSpell(world, x, y, z, player, entity);
   }
 }