mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix some bugs with the way Gui's work.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user