Finish Hex Blocks (Fixes #98). Change block class names (warlordjones).

Fix items not loading
This commit is contained in:
tterrag1098 committed 2015-01-08 18:34:47 -05:00
1 parent fbbe24152c
commit 89ed8e94ac
21 files changed
+104 -96

No files matched your search

@@ -3,6 +3,8 @@ package com.cricketcraft.chisel.utils;
import java.util.HashMap;
import java.util.Random;
import org.lwjgl.opengl.GL11;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.IIcon;
@@ -33,5 +35,12 @@ public class GeneralClient {
Minecraft.getMinecraft().getTextureManager().bindTexture(res);
}
public static void setGLColorFromInt(int color)
{
float red = (color >> 16 & 255) / 255.0F;
float green = (color >> 8 & 255) / 255.0F;
float blue = (color & 255) / 255.0F;
GL11.glColor4f(red, green, blue, 1.0F);
}
}