Well, it isn't totally broken, but also not good.

This commit is contained in:
Alex Spinks committed 2015-07-19 05:00:11 +01:00
1 parent f0085ac90c
commit 53f522017f
2 files changed
+6 -4

No files matched your search

@@ -7,6 +7,8 @@ import net.minecraft.world.World;
public class EntityGapingVoid extends Entity {
public static final int maxLifetime = 200;
public EntityGapingVoid(World world) {
super(world);
this.isImmuneToFire = true;
@@ -23,13 +25,13 @@ public class EntityGapingVoid extends Entity {
public void onUpdate() {
super.onUpdate();
/*int age = this.getAge();
int age = this.getAge();
if (age >= 100) {
if (age >= maxLifetime) {
this.setDead();
} else {
this.setAge(age+1);
}*/
}
}