From aef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sat, 1 Apr 2017 14:04:57 +1000 Subject: + Added some more logging. + Added a custom fire block known as HellFire. $ Fixed the mining explosion not dropping every block. % Disabled mining explosion causing wild fires. % Changed mining explosion renderer to use the custom block, not tnt textures. % Changed mining explosion power to be 5x stronger. --- src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java | 4 ++-- src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/Java/gtPlusPlus/core/entity') diff --git a/src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java b/src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java index dabb12e44e..897e330643 100644 --- a/src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java +++ b/src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java @@ -124,10 +124,10 @@ public class EntityPrimedMiningExplosive extends EntityTNTPrimed private void explode() { - final float f = 20.0F; + final float f = 100.0F; ExplosionHandler explode = new ExplosionHandler(); - explode.createExplosion(this.worldObj, this, this.posX, this.posY, this.posZ, f, true, true); + explode.createExplosion(this.worldObj, this, this.posX, this.posY, this.posZ, f, false, true); /*this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, f, true); this.worldObj.createExplosion(this, this.posX+MathUtils.randDouble(-10, 10), this.posY, this.posZ+MathUtils.randDouble(-10, 10), f+MathUtils.randFloat(-5F, 5F), true); diff --git a/src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java b/src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java index 565b0177ea..b94f2e7205 100644 --- a/src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java +++ b/src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java @@ -1,12 +1,13 @@ package gtPlusPlus.core.entity; -import gtPlusPlus.GTplusplus; import cpw.mods.fml.common.registry.EntityRegistry; +import gtPlusPlus.GTplusplus; +import gtPlusPlus.core.util.Utils; public class InternalEntityRegistry { - public static void registerEntities(){ - + public static void registerEntities(){ + Utils.LOG_INFO("Registering GT++ Entities."); //EntityRegistry.registerModEntity(EntityMiningChargePrimed.class, "MiningCharge", 3, Main.modInstance, 64, 20, true); EntityRegistry.registerModEntity(EntityPrimedMiningExplosive.class, "MiningCharge", 3, GTplusplus.instance, 64, 20, true); -- cgit