aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/entity
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-04-01 14:08:24 +1000
committerGitHub <noreply@github.com>2017-04-01 14:08:24 +1000
commitb55016965731c607587bb9891d0975a0e8a80fb9 (patch)
tree88ab34784695424373345b153c6389faf8422337 /src/Java/gtPlusPlus/core/entity
parent1f1809d36813f134627efa38ecf198132b3d53e5 (diff)
parentaef078aa0db8e3e7ec4ad09ff288a4f3712b4d2d (diff)
downloadGT5-Unofficial-b55016965731c607587bb9891d0975a0e8a80fb9.tar.gz
GT5-Unofficial-b55016965731c607587bb9891d0975a0e8a80fb9.tar.bz2
GT5-Unofficial-b55016965731c607587bb9891d0975a0e8a80fb9.zip
Merge pull request #70 from draknyte1/desktop-changes
Unmerged Desktop Changes
Diffstat (limited to 'src/Java/gtPlusPlus/core/entity')
-rw-r--r--src/Java/gtPlusPlus/core/entity/EntityPrimedMiningExplosive.java4
-rw-r--r--src/Java/gtPlusPlus/core/entity/InternalEntityRegistry.java7
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);