Update CraftBukkit to Minecraft 1.4.6

This commit is contained in:
feildmaster
2012-12-19 22:03:52 -06:00
parent 9f1bf124ee
commit 23b6764374
115 changed files with 1930 additions and 1426 deletions

View File

@@ -30,7 +30,7 @@ public class EntitySlime extends EntityLiving implements IMonster {
this.a(0.6F * (float) i, 0.6F * (float) i);
this.setPosition(this.locX, this.locY, this.locZ);
this.setHealth(this.getMaxHealth());
this.bc = i;
this.bd = i;
}
public int getMaxHealth() {
@@ -115,17 +115,17 @@ public class EntitySlime extends EntityLiving implements IMonster {
this.jumpDelay /= 3;
}
this.bE = true;
this.bF = true;
if (this.q()) {
this.makeSound(this.n(), this.aX(), ((this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F) * 0.8F);
}
this.bB = 1.0F - this.random.nextFloat() * 2.0F;
this.bC = (float) (1 * this.getSize());
this.bC = 1.0F - this.random.nextFloat() * 2.0F;
this.bD = (float) (1 * this.getSize());
} else {
this.bE = false;
this.bF = false;
if (this.onGround) {
this.bB = this.bC = 0.0F;
this.bC = this.bD = 0.0F;
}
}
}