mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
Subsplit the creative tab into 4, by material.
May sort it a different way, this is still under consideration.
This commit is contained in:
1 parent
56e393f2e5
commit
034fd78d4d
19 files changed
+102
-97
No files matched your search
@@ -6,9 +6,10 @@ import net.minecraft.item.Item;
|
||||
public class ModTabs {
|
||||
|
||||
public static CreativeTabs tabChisel;
|
||||
public static CreativeTabs tabChiselBlocks;
|
||||
public static CreativeTabs tabStoneChiselBlocks, tabWoodChiselBlocks,tabMetalChiselBlocks, tabOtherChiselBlocks;
|
||||
|
||||
public static void load(){
|
||||
|
||||
tabChisel = new CreativeTabs("tabChisel")
|
||||
{
|
||||
@Override
|
||||
@@ -16,13 +17,35 @@ public class ModTabs {
|
||||
return ModItems.chisel;
|
||||
}
|
||||
};
|
||||
|
||||
tabChiselBlocks = new CreativeTabs("tabChiselBlocks") {
|
||||
tabStoneChiselBlocks = new CreativeTabs("tabStoneChiselBlocks") {
|
||||
@Override
|
||||
public Item getTabIconItem()
|
||||
{
|
||||
return Item.getItemFromBlock(ModBlocks.holystone);
|
||||
}
|
||||
};
|
||||
tabWoodChiselBlocks = new CreativeTabs("tabWoodChiselBlocks") {
|
||||
@Override
|
||||
public Item getTabIconItem()
|
||||
{
|
||||
//Broken
|
||||
//return Item.getItemFromBlock(ModBlocks.bookshelf);
|
||||
return ModItems.chisel
|
||||
}
|
||||
};
|
||||
tabMetalChiselBlocks = new CreativeTabs("tabMetalChiselBlocks") {
|
||||
@Override
|
||||
public Item getTabIconItem()
|
||||
{
|
||||
return Item.getItemFromBlock(ModBlocks.technical);
|
||||
}
|
||||
};
|
||||
tabOtherChiselBlocks = new CreativeTabs("tabOtherChiselBlocks") {
|
||||
@Override
|
||||
public Item getTabIconItem()
|
||||
{
|
||||
return Item.getItemFromBlock(ModBlocks.jackolantern[0]);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user