Merge release build 246

This commit is contained in:
Vincent Lee committed 2015-12-29 19:36:50 -06:00
commit 71607ae3bd
50 files changed
+510 -102

No files matched your search

@@ -24,6 +24,7 @@ import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import vazkii.botania.client.core.handler.ClientTickHandler;
import vazkii.botania.client.core.helper.ShaderHelper;
import vazkii.botania.common.block.BlockLightRelay;
public class RenderTileLightRelay extends TileEntitySpecialRenderer {
@@ -58,7 +59,10 @@ public class RenderTileLightRelay extends TileEntitySpecialRenderer {
GlStateManager.translate(0F, -off, 0F);
mc.renderEngine.bindTexture(TextureMap.locationBlocksTexture);
ShaderHelper.useShader(ShaderHelper.halo);
func_77026_a(tessellator, iicon);
ShaderHelper.releaseShader();
GlStateManager.popMatrix();
GlStateManager.color(1F, 1F, 1F, 1F);
GlStateManager.disableBlend();
@@ -71,6 +75,13 @@ public class RenderTileLightRelay extends TileEntitySpecialRenderer {
float f1 = p_77026_2_.getMaxU();
float f2 = p_77026_2_.getMinV();
float f3 = p_77026_2_.getMaxV();
float size = f1 - f;
float pad = size / 8F;
f += pad;
f1 -= pad;
f2 += pad;
f3 -= pad;
float f4 = 1.0F;
float f5 = 0.5F;
float f6 = 0.25F;