diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-04-01 14:04:57 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-04-01 14:04:57 +1000 |
commit | aef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d (patch) | |
tree | ef566fa6575c03825cf3d999c567ca7ed34fbfe0 /src/Java/gtPlusPlus/core/entity | |
parent | a1021ae7e3f2357a541aaef8d8bde72044478bcd (diff) | |
download | GT5-Unofficial-aef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d.tar.gz GT5-Unofficial-aef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d.tar.bz2 GT5-Unofficial-aef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d.zip |
+ 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.
Diffstat (limited to 'src/Java/gtPlusPlus/core/entity')
-rw-r--r-- | src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java | 4 | ||||
-rw-r--r-- | src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java | 7 |
2 files changed, 6 insertions, 5 deletions
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); |