@Override public void spawnCharmParticle(World world, EntityLivingBase el, Random rng, boolean success) { Minecraft mc = Minecraft.getMinecraft(); EntityLargeExplodeFX exfx = new net.minecraft.client.particle.EntityLargeExplodeFX( mc.renderEngine, world, el.posX, el.posY + 0.5F, el.posZ, rng.nextFloat(), rng.nextFloat(), rng.nextFloat()); if (success) { exfx.setRBGColorF(0F, 1.0F, 0F); } else { exfx.setRBGColorF(1.0F, 0F, 0F); } mc.effectRenderer.addEffect(exfx); }