diff --git a/src/main/java/tconstruct/client/BlockSkinRenderHelper.java b/src/main/java/tconstruct/client/BlockSkinRenderHelper.java index 22e80d7a..ecb43f45 100644 --- a/src/main/java/tconstruct/client/BlockSkinRenderHelper.java +++ b/src/main/java/tconstruct/client/BlockSkinRenderHelper.java @@ -884,8 +884,17 @@ public class BlockSkinRenderHelper if(stillIcon == null) stillIcon = FluidRegistry.WATER.getStillIcon(); if(flowingIcon == null) flowingIcon = FluidRegistry.WATER.getFlowingIcon(); - return Minecraft.isAmbientOcclusionEnabled() ? renderFakeBlockWithAmbientOcclusion(stillIcon, flowingIcon, x, y, z, var6, var7, var8, renderer, world) : renderFakeBlockWithColorMultiplier( - stillIcon, flowingIcon, x, y, z, var6, var7, var8, renderer, world); + boolean raf = renderer.renderAllFaces; + renderer.renderAllFaces = true; + + boolean ret; + if(Minecraft.isAmbientOcclusionEnabled()) + ret = renderFakeBlockWithAmbientOcclusion(stillIcon, flowingIcon, x, y, z, var6, var7, var8, renderer, world); + else + ret = renderFakeBlockWithColorMultiplier(stillIcon, flowingIcon, x, y, z, var6, var7, var8, renderer, world); + + renderer.renderAllFaces = raf; + return ret; } static boolean renderFakeBlockWithAmbientOcclusion (IIcon stillIcon, IIcon flowingIcon, int xPos, int yPos, int zPos, float colorRed, float colorGreen, float colorBlue, RenderBlocks render, diff --git a/src/main/java/tconstruct/library/crafting/Smeltery.java b/src/main/java/tconstruct/library/crafting/Smeltery.java index 888fe929..b353be5b 100644 --- a/src/main/java/tconstruct/library/crafting/Smeltery.java +++ b/src/main/java/tconstruct/library/crafting/Smeltery.java @@ -224,6 +224,7 @@ public class Smeltery addMelting(type, is, temperatureDifference, fluidAmount); } + // todo: mantle -> itemmeta wrapper public static class SmelteryInput { public final Item input; diff --git a/src/main/java/tconstruct/smeltery/blocks/LavaTankBlock.java b/src/main/java/tconstruct/smeltery/blocks/LavaTankBlock.java index b2a6bd96..8900ff4c 100644 --- a/src/main/java/tconstruct/smeltery/blocks/LavaTankBlock.java +++ b/src/main/java/tconstruct/smeltery/blocks/LavaTankBlock.java @@ -93,11 +93,8 @@ public class LavaTankBlock extends BlockContainer @Override public boolean shouldSideBeRendered (IBlockAccess world, int x, int y, int z, int side) { - // if (side == 0 && world.getBlockMetadata(x, y, z) == 0) - // return super.shouldSideBeRendered(world, x, y, z, side); Block bID = world.getBlock(x, y, z); return bID == this ? false : super.shouldSideBeRendered(world, x, y, z, side); - // return true; } @Override