From 3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Tue, 3 Feb 2015 21:09:09 +0000 Subject: Made a few modifications to some classes, added earrings and bracelets. Improved coloring algorithm and balanced the Thieving Glove --- .../jewelrycraft/container/GuiTabModifiers.java | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 java/darkknight/jewelrycraft/container/GuiTabModifiers.java (limited to 'java/darkknight/jewelrycraft/container/GuiTabModifiers.java') diff --git a/java/darkknight/jewelrycraft/container/GuiTabModifiers.java b/java/darkknight/jewelrycraft/container/GuiTabModifiers.java new file mode 100644 index 0000000..6a0143d --- /dev/null +++ b/java/darkknight/jewelrycraft/container/GuiTabModifiers.java @@ -0,0 +1,50 @@ +package darkknight.jewelrycraft.container; + +import java.util.ArrayList; + +import net.minecraft.init.Blocks; +import net.minecraft.init.Items; +import net.minecraft.item.ItemStack; +import net.minecraft.util.EnumChatFormatting; +import darkknight.jewelrycraft.block.BlockList; +import darkknight.jewelrycraft.client.GuiGuide; +import darkknight.jewelrycraft.item.ItemList; + +public class GuiTabModifiers extends GuiTab +{ + public GuiTabModifiers(int id) + { + super("Modifiers", id); + } + + public ItemStack getIcon() + { + return new ItemStack(Items.blaze_powder); + } + + @Override + public void drawBackground(GuiGuide gui, int x, int y, int page) + { + String text = ""; + int xPos = (page % 2 == 0) ? 107 : -35; + switch (page) + { + case 1: + text = "This is a test to see if the program works or not! And it does seem to be working. Yaaay! Thank God I made this. This is so much easier :D"; + Page.addImageTextPage(gui, gui.getLeft() + xPos, gui.getTop(), new ItemStack(Items.blaze_powder), text, 40f); + break; + default:; + } + } + + public int getMaxPages() + { + return 1; + } + + @Override + public void drawForeground(GuiGuide gui, int x, int y, int page) + { + } + +} -- cgit v1.2.3