protected void update() {
		if(this.random.nextFloat() < 0.07F) {
			this.xxa = (this.random.nextFloat() - 0.5F) * this.runSpeed;
			this.yya = this.random.nextFloat() * this.runSpeed;
		}

		this.jumping = this.random.nextFloat() < 0.01F;
		if(this.random.nextFloat() < 0.04F) {
			this.yRotA = (this.random.nextFloat() - 0.5F) * 60.0F;
		}

		this.mob.yRot += this.yRotA;
		this.mob.xRot = (float)this.defaultLookAngle;
		if(this.attackTarget != null) {
			this.yya = this.runSpeed;
			this.jumping = this.random.nextFloat() < 0.04F;
		}

		boolean var1 = this.mob.isInWater();
		boolean var2 = this.mob.isInLava();
		if(var1 || var2) {
			this.jumping = this.random.nextFloat() < 0.8F;
		}

	}