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); }
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); } }