mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-20 12:19:39 +00:00
Well, it isn't totally broken, but also not good.
This commit is contained in:
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);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,6 @@ public class LudicrousEntities {
|
||||
|
||||
public static void letLooseTheDogsOfWar() {
|
||||
EntityRegistry.registerModEntity(EntityEndestPearl.class, "EndestPearl", 1, Avaritia.instance, 64, 10, true);
|
||||
EntityRegistry.registerModEntity(EntityGapingVoid.class, "GapingVoid", 1, Avaritia.instance, 64, 10, false);
|
||||
EntityRegistry.registerModEntity(EntityGapingVoid.class, "GapingVoid", 2, Avaritia.instance, 64, 10, false);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user