private void FindClosestPlayer() { EntityPlayer closestPlayer = this.world.GetClosestPlayer(this, 80f, false); if (base.CanSee(closestPlayer)) { if (closestPlayer.GetWaterLevel() < 0.5f) { base.SetRevengeTarget(closestPlayer); } } }