aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/client
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/client
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/client')
-rw-r--r--src/Java/gtPlusPlus/core/client/renderer/RenderMiningExplosivesPrimed.java6
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);