Testing around with custom textures.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package de.skate702.craftingkeys.config;
|
||||
|
||||
import de.skate702.craftingkeys.CraftingKeys;
|
||||
import de.skate702.craftingkeys.util.LanguageLocalizer;
|
||||
import de.skate702.craftingkeys.util.Logger;
|
||||
import net.minecraft.client.Minecraft;
|
||||
@@ -244,6 +245,10 @@ public class GuiConfig extends GuiScreen {
|
||||
|
||||
drawRect(guiShowBasePosX + -30, guiShowBasePosY + 20, guiShowBasePosX + 83, guiShowBasePosY + 36, Color.black.getRGB());
|
||||
|
||||
GL11.glColor4f(1F, 1F, 1F, 1F);
|
||||
mc.renderEngine.bindTexture(new ResourceLocation(CraftingKeys.MODID, "textures/gui/test.png"));
|
||||
drawTexturedModalRect(guiShowBasePosX - 50, guiShowBasePosY, 0, 0, 100, 100);
|
||||
|
||||
drawInfoString(4, 34, 51);
|
||||
drawInfoString(5, 83, 51);
|
||||
drawInfoString(9, 141, 51);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 794 B |
Reference in New Issue
Block a user