Assuming you're talking about your own creative tabs you could simply override CreativeTabs#displayAllRelevantItems() and add your items before calling super().
Just create a class that extends net.minecraft.creativetab.Creativetabs. Override the displayAllRelevantItems method and add itemstacks containing your items/blocks to the list you're given, then call super().
Hey, does anyone happen to know how to make an item appear in multiple creative tabs at the same time?
It would make my life so much easier ^,^
My Mods ~
Official MaplePets
Official MapleCrafted
Official MapleItems
Assuming you're talking about your own creative tabs you could simply override CreativeTabs#displayAllRelevantItems() and add your items before calling super().
Fair enough, thank you! <3
My Mods ~
Official MaplePets
Official MapleCrafted
Official MapleItems
Do you think you could provide an example? I am working on this and I for some reason can not come to this.
My Mods ~
Official MaplePets
Official MapleCrafted
Official MapleItems
Just create a class that extends net.minecraft.creativetab.Creativetabs. Override the displayAllRelevantItems method and add itemstacks containing your items/blocks to the list you're given, then call super().
oh ok easy enough, thanks mate! <3
My Mods ~
Official MaplePets
Official MapleCrafted
Official MapleItems