summaryrefslogtreecommitdiff
path: root/java/darkknight/jewelrycraft/container/GuiTabModifiers.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-02-21 21:31:16 +0000
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-02-21 21:31:16 +0000
commit420faddca46e70e3a70def168fb4e452ef193b0d (patch)
tree247e334012e4bf9e4fa6d42718bf601ce6bd42d9 /java/darkknight/jewelrycraft/container/GuiTabModifiers.java
parent3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b (diff)
Added just a butt ton of stuff, also thanks to pau101 for helping me with the Hand Pedestal animation :)
Diffstat (limited to 'java/darkknight/jewelrycraft/container/GuiTabModifiers.java')
-rw-r--r--java/darkknight/jewelrycraft/container/GuiTabModifiers.java49
1 files changed, 35 insertions, 14 deletions
diff --git a/java/darkknight/jewelrycraft/container/GuiTabModifiers.java b/java/darkknight/jewelrycraft/container/GuiTabModifiers.java
index 6a0143d..b7d4d1b 100644
--- a/java/darkknight/jewelrycraft/container/GuiTabModifiers.java
+++ b/java/darkknight/jewelrycraft/container/GuiTabModifiers.java
@@ -1,50 +1,71 @@
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
-{
+{
+
+ /**
+ * @param id
+ */
public GuiTabModifiers(int id)
{
super("Modifiers", id);
}
+ /**
+ * @return
+ */
+ @Override
public ItemStack getIcon()
{
return new ItemStack(Items.blaze_powder);
}
+ /**
+ * @param gui
+ * @param x
+ * @param y
+ * @param page
+ */
@Override
public void drawBackground(GuiGuide gui, int x, int y, int page)
{
String text = "";
- int xPos = (page % 2 == 0) ? 107 : -35;
- switch (page)
+ 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";
+ text = "Although you can add anything as a modifier, only some objects have an effect. In this tab you can find all of modifiers that have a use and what they do, in the form of a story/riddle/poem. However different jewellery have different effects for the same modifier.";
+ Page.addTextPage(gui, gui.getLeft() + xPos, gui.getTop(), text);
+ break;
+ case 2:
+ text = "The ancient ones talked about a rising fire in your heart. Fret do not, for flames do not burn, but water might sting a turn. Watch your step, do not be cocky, for its protection is a bit sloppy.";
Page.addImageTextPage(gui, gui.getLeft() + xPos, gui.getTop(), new ItemStack(Items.blaze_powder), text, 40f);
break;
- default:;
+ default:
+ ;
}
}
+ /**
+ * @return
+ */
+ @Override
public int getMaxPages()
{
return 1;
}
+ /**
+ * @param gui
+ * @param x
+ * @param y
+ * @param page
+ */
@Override
public void drawForeground(GuiGuide gui, int x, int y, int page)
- {
- }
-
+ {}
}