@SideOnly(Side.CLIENT) public void handleHealthUpdate(byte par1) { if (par1 == 8) { this.field_70928_h = true; this.timeWolfIsShaking = 0.0F; this.prevTimeWolfIsShaking = 0.0F; } else { super.handleHealthUpdate(par1); } }
@SideOnly(Side.CLIENT) public void handleHealthUpdate(byte par1) { if (par1 == 16) { this.worldObj.playSound( this.posX + 0.5D, this.posY + 0.5D, this.posZ + 0.5D, "mob.zombie.remedy", 1.0F + this.rand.nextFloat(), this.rand.nextFloat() * 0.7F + 0.3F, false); } else { super.handleHealthUpdate(par1); } }