From 208b1f1e0d5faf601b53818b04f6699b2e6cb6bc Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Tue, 5 May 2015 22:07:10 +0100 Subject: - Working on a GUI showing what curses you get with a description on them - Added a search bar in the Liquids Tab for easier searching - Fixed an issue with golden objects giving errors due to missing default texture - Improved the Infamy Mask to have less parts, thus causing less lag - Improved ingots and ore detection - Fixed certain ores when smelted outputting a different ingot - Necklaces and Rings now render as well - Updated the guide at the Guide item to have the proper link to the mod as well as mention the right people who helped with it - Added a list of the ores that work in the guide - Added a new tab to the guide regarding the ores and the ingots they create - Changed the stun effect caused by rings with feathers as modifiers to be a potion effect instead --- .../java/darkknight/jewelrycraft/CreativeTabLiquids.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java') diff --git a/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java b/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java index 6e6ef29..33e507d 100644 --- a/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java +++ b/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java @@ -14,11 +14,16 @@ public class CreativeTabLiquids extends CreativeTabs /** * Instantiates a new creative tab liquids. * - * @param par2Str the par2 str + * @param name the name */ - public CreativeTabLiquids(String par2Str) + public CreativeTabLiquids(String name) { - super(par2Str); + super(name); + } + + public boolean hasSearchBar() { + + return true; } /** @@ -34,9 +39,9 @@ public class CreativeTabLiquids extends CreativeTabs * @param par1List List of items to display */ @Override - public void displayAllReleventItems(List par1List) + public void displayAllReleventItems(List list) { for(int i = 0; i < JewelrycraftUtil.objects.size(); i++) - par1List.add(ItemList.bucket.getModifiedItemStack(JewelrycraftUtil.objects.get(i))); + list.add(ItemList.bucket.getModifiedItemStack(JewelrycraftUtil.objects.get(i))); } } -- cgit v1.2.3