Updated to Minecraft version 1.4

This commit is contained in:
Dinnerbone
2011-03-31 21:40:00 +01:00
parent 0635f7c1b8
commit 87c36febeb
84 changed files with 1024 additions and 793 deletions

View File

@@ -32,7 +32,7 @@ public class EntityCreeper extends EntityMonster {
public void f_() {
this.b = this.a;
if (this.world.isStatic) {
int i = this.r();
int i = this.v();
if (i > 0 && this.a == 0) {
this.world.a(this, "random.fuse", 1.0F, 0.5F);
@@ -67,7 +67,7 @@ public class EntityCreeper extends EntityMonster {
}
protected void a(Entity entity, float f) {
int i = this.r();
int i = this.v();
if ((i > 0 || f >= 3.0F) && (i <= 0 || f >= 7.0F)) {
this.e(-1);
@@ -91,7 +91,7 @@ public class EntityCreeper extends EntityMonster {
if (!event.isCancelled()) {
this.world.a(this, this.locX, this.locY, this.locZ, event.getRadius(), event.getFire());
this.C();
this.D();
} else {
this.a = 0;
}
@@ -106,7 +106,7 @@ public class EntityCreeper extends EntityMonster {
return Item.SULPHUR.id;
}
private int r() {
private int v() {
return this.datawatcher.a(16);
}