@SideOnly(Side.CLIENT) public void updateEntityClient() { float particlex; float particley; float particlez; int num = rand.nextInt(10); for(int i = 0; i < num; i++){ particlex = (float)this.xCoord + rand.nextFloat(); particley = (float)this.yCoord + 1 + rand.nextFloat(); particlez = (float)this.zCoord + rand.nextFloat(); Minecraft.getMinecraft().effectRenderer.addEffect(new EntityEnchantmentTableParticleFX(Minecraft.getMinecraft().theWorld, particlex, particley, particlez, 0, 3, 0)); } num = rand.nextInt(2); for(int i = 0; i < num; i++){ particlex = (float)this.xCoord + rand.nextFloat(); particley = (float)this.yCoord + 1 + rand.nextFloat(); particlez = (float)this.zCoord + rand.nextFloat(); Minecraft.getMinecraft().effectRenderer.addEffect(new EntityAvatarBubbleFX(Minecraft.getMinecraft().theWorld, particlex, particley, particlez, 0, 0.7, 0)); } }