Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.

This commit is contained in:
Nathan Adams
2012-03-22 20:39:39 +00:00
parent 8dc7417a3d
commit 9d09e7d016
94 changed files with 647 additions and 1944 deletions

View File

@@ -27,7 +27,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
}
public boolean b() {
EntityLiving entityliving = this.c.as();
EntityLiving entityliving = this.c.at();
if (entityliving == null) {
return false;
@@ -37,7 +37,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
return false;
} else {
if (this.e) {
if (!this.c.al().canSee(entityliving)) {
if (!this.c.am().canSee(entityliving)) {
if (++this.g > 60) {
return false;
}
@@ -85,7 +85,7 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
if (!this.c.e(MathHelper.floor(entityliving.locX), MathHelper.floor(entityliving.locY), MathHelper.floor(entityliving.locZ))) {
return false;
} else if (this.e && !this.c.al().canSee(entityliving)) {
} else if (this.e && !this.c.am().canSee(entityliving)) {
return false;
} else {
if (this.a) {
@@ -136,8 +136,8 @@ public abstract class PathfinderGoalTarget extends PathfinderGoal {
}
private boolean a(EntityLiving entityliving) {
this.f = 10 + this.c.am().nextInt(5);
PathEntity pathentity = this.c.ak().a(entityliving);
this.f = 10 + this.c.an().nextInt(5);
PathEntity pathentity = this.c.al().a(entityliving);
if (pathentity == null) {
return false;