diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-02-03 21:09:09 +0000 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-02-03 21:09:09 +0000 |
| commit | 3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b (patch) | |
| tree | 15c68c8b61dbd0b7f44937a5c790c4b844e50f58 /java/darkknight/jewelrycraft/container/GuiTabModifiers.java | |
| parent | 73ca377dc01f859dabd7b07738cb7aeb762272b1 (diff) | |
Made a few modifications to some classes, added earrings and bracelets. Improved coloring algorithm and balanced the Thieving Glove
Diffstat (limited to 'java/darkknight/jewelrycraft/container/GuiTabModifiers.java')
| -rw-r--r-- | java/darkknight/jewelrycraft/container/GuiTabModifiers.java | 50 |
1 files changed, 50 insertions, 0 deletions
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) + { + } + +} |
