mirror of
https://github.com/GTNewHorizons/Advanced-Botany.git
synced 2026-11-18 11:19:26 +00:00
25 lines
637 B
Java
25 lines
637 B
Java
package ab;
|
|
|
|
import ab.common.lib.register.BlockListAB;
|
|
import ab.common.lib.register.ItemListAB;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
import net.minecraft.init.Items;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemBlock;
|
|
|
|
public class AdvancedBotanyTab extends CreativeTabs {
|
|
|
|
public AdvancedBotanyTab(String str) {
|
|
super(str);
|
|
this.setNoTitle();
|
|
this.setBackgroundImageName("ab.png");
|
|
}
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
public Item getTabIconItem() {
|
|
return ItemBlock.getItemFromBlock(BlockListAB.blockABSpreader);
|
|
}
|
|
}
|