Fix some bugs with the way Gui's work.

This commit is contained in:
Alexander committed 2014-02-17 01:27:15 -05:00
1 parent e539d5bf99
commit 544536401b
8 files changed
+101 -91

No files matched your search

@@ -8,13 +8,11 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.init.Blocks;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import tconstruct.TConstruct;
public class BlockSkinRenderHelper
{
public static boolean renderMetadataBlock (Block block, int metadata, int x, int y, int z, RenderBlocks renderer, IBlockAccess world)
{
TConstruct.logger.error(block);
// TODO CHECK THESE!!!!
int var5 = block.colorMultiplier(world, x, y, z);
float var6 = (float) (var5 >> 16 & 255) / 255.0F;