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/client | |
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/client')
-rw-r--r-- | src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java b/src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java index 7c9a268afb..bbbde96c8e 100644 --- a/src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java +++ b/src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java @@ -11,7 +11,6 @@ import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityTNTPrimed; -import net.minecraft.init.Blocks; import net.minecraft.util.ResourceLocation; @SideOnly(Side.CLIENT) @@ -20,6 +19,7 @@ public class RenderMiningExplosivesPrimed extends Render { public RenderMiningExplosivesPrimed(){ this.shadowSize = 0.5F; + Utils.LOG_INFO("Rendering Mining Explosion. 1"); } /** @@ -29,7 +29,7 @@ public class RenderMiningExplosivesPrimed extends Render { * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. */ public void doRender(final EntityTNTPrimed entity, final double p_76986_2_, final double p_76986_4_, final double p_76986_6_, final float p_76986_8_, final float p_76986_9_){ - Utils.LOG_INFO("Rendering Mining Explosion."); + Utils.LOG_INFO("Rendering Mining Explosion. 2"); GL11.glPushMatrix(); GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_, (float)p_76986_6_); float f2; @@ -65,7 +65,7 @@ public class RenderMiningExplosivesPrimed extends Render { GL11.glEnable(GL11.GL_BLEND); GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_DST_ALPHA); GL11.glColor4f(1.0F, 1.0F, 1.0F, f2); - this.blockRenderer.renderBlockAsItem(Blocks.tnt, 0, 1.0F); + this.blockRenderer.renderBlockAsItem(ModBlocks.blockMiningExplosive, 0, 1.0F); GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); GL11.glDisable(GL11.GL_BLEND); GL11.glEnable(GL11.GL_LIGHTING); |