From 4f7ad220df0438b6f3382110577b53f29da46453 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 24 May 2018 15:50:07 -0400 Subject: Update of all changes --- .../jewelrycraft/CreativeTabLiquids.java | 70 +++++++++++----------- 1 file changed, 35 insertions(+), 35 deletions(-) mode change 100644 => 100755 src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java (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 old mode 100644 new mode 100755 index 45529cc..eadeb4a --- a/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java +++ b/src/main/java/darkknight/jewelrycraft/CreativeTabLiquids.java @@ -1,6 +1,7 @@ package darkknight.jewelrycraft; import java.util.List; + import darkknight.jewelrycraft.item.ItemList; import darkknight.jewelrycraft.util.JewelrycraftUtil; import net.minecraft.creativetab.CreativeTabs; @@ -9,39 +10,38 @@ import net.minecraft.item.Item; /** * The Class CreativeTabLiquids. */ -public class CreativeTabLiquids extends CreativeTabs -{ - /** - * Instantiates a new creative tab liquids. - * - * @param name the name - */ - public CreativeTabLiquids(String name) - { - super(name); - } - - public boolean hasSearchBar() { - - return true; - } - - /** - * @return the Item for the icon - */ - @Override - public Item getTabIconItem() - { - return ItemList.bucket; - } - - /** - * @param par1List List of items to display - */ - @Override - public void displayAllReleventItems(List list) - { - for(int i = 0; i < JewelrycraftUtil.objects.size(); i++) - list.add(ItemList.bucket.getModifiedItemStack(JewelrycraftUtil.objects.get(i))); - } +public class CreativeTabLiquids extends CreativeTabs { + /** + * Instantiates a new creative tab liquids. + * + * @param name + * the name + */ + public CreativeTabLiquids(String name) { + super(name); + } + + @Override + public boolean hasSearchBar() { + return true; + } + + /** + * @return the Item for the icon + */ + @Override + public Item getTabIconItem() { + return ItemList.bucket; + } + + /** + * @param list + * List of items to display + */ + @Override + public void displayAllReleventItems(List list) { + for (int i = 0; i < JewelrycraftUtil.objects.size(); i++) + list.add(ItemList.bucket.getModifiedItemStack( + JewelrycraftUtil.objects.get(i))); + } } -- cgit v1.2.3