mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Updated to Minecraft version 1.4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user