diff --git a/src/main/java/biomesoplenty/common/util/inventory/CreativeTabBOP.java b/src/main/java/biomesoplenty/common/util/inventory/CreativeTabBOP.java index 40973da47..190835036 100644 --- a/src/main/java/biomesoplenty/common/util/inventory/CreativeTabBOP.java +++ b/src/main/java/biomesoplenty/common/util/inventory/CreativeTabBOP.java @@ -9,10 +9,22 @@ package biomesoplenty.common.util.inventory; import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.init.Blocks; import net.minecraft.item.Item; -//TODO: Do this properly once Forge is updated -public class CreativeTabBOP +//TODO: Fix icon +public class CreativeTabBOP extends CreativeTabs { - public static final CreativeTabs instance = CreativeTabs.tabMisc; + public static final CreativeTabs instance = new CreativeTabBOP(CreativeTabs.getNextID(), "tabBiomesOPlenty"); + + private CreativeTabBOP(int index, String label) + { + super(index, label); + } + + @Override + public Item getTabIconItem() + { + return Item.getItemFromBlock(Blocks.sapling); + } } diff --git a/src/main/resources/assets/biomesoplenty/lang/en_US.lang b/src/main/resources/assets/biomesoplenty/lang/en_US.lang index 202a26614..a7abe4017 100644 --- a/src/main/resources/assets/biomesoplenty/lang/en_US.lang +++ b/src/main/resources/assets/biomesoplenty/lang/en_US.lang @@ -1,3 +1,5 @@ +itemGroup.tabBiomesOPlenty=Biomes O' Plenty + tile.ash_block.name=Ash Block tile.bamboo.name=Bamboo