Ernio Posted April 12, 2013 Share Posted April 12, 2013 Hello, I don't want to waste time on such little things but I can't find way to do this. How can I put ex. MyOre both to BlockTab and to MyTab? I tried to do this in different ways but if I declare (no mater how I do it) 2 CreativeTabs item is not viewed in any of them. Thanks, Ernio Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
ashtonr12 Posted April 12, 2013 Share Posted April 12, 2013 lika dis MODBLOCK = new BlockMODBLOCK(603).setUnlocalizedName("BLOCKNAME").setStepSound(Block.soundClothFootstep).setHardness(0.8F).setCreativeTab(CreativeTabs.tabDecorations).setCreativeTab(CreativeTabs.tabBlock); just add more .setCreativeTab(CreativeTabs.tabBlock) Quote Use examples, i have aspergers. Examples make sense to me. Link to comment Share on other sites More sharing options...
Ernio Posted April 12, 2013 Author Share Posted April 12, 2013 The sad truth is that - when i said ,,i tried many different ways to do it." i ment taht I also tried this one. :C When I add more than one declaration Item won't be shown in any of Tabs ;/ Any other ideas? (1.4.7) Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
ashtonr12 Posted April 12, 2013 Share Posted April 12, 2013 i just tested it in my elipse you must be doing something else wrong? i tested ti before i posted it, btw update. Quote Use examples, i have aspergers. Examples make sense to me. Link to comment Share on other sites More sharing options...
Zedicus Posted April 12, 2013 Share Posted April 12, 2013 Apparently you must be doing something else, I tested your snippet and it simply didn't display as Ernio mentioned. 1.5.1 latest build, for reference. Quote Link to comment Share on other sites More sharing options...
TheDrunkMafia Posted April 12, 2013 Share Posted April 12, 2013 Just duplicate the item and assign it to the other creative tab, thats the easiest solution there is. Quote Link to comment Share on other sites More sharing options...
Zedicus Posted April 13, 2013 Share Posted April 13, 2013 Just duplicate the item and assign it to the other creative tab, thats the easiest solution there is. I see so many issues with that... Quote Link to comment Share on other sites More sharing options...
Ernio Posted April 13, 2013 Author Share Posted April 13, 2013 ,,Just duplicate the item and assign it to the other creative tab, thats the easiest solution there is." You, sir, just went full retarded. Never go full retarded ;p So any other ideas? Maybe just some java command that would work here? (I tried some duble assign but doesn't work either). Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
TheDrunkMafia Posted April 13, 2013 Share Posted April 13, 2013 Still a newb, although you do not need be insultive. Quote Link to comment Share on other sites More sharing options...
Ernio Posted April 13, 2013 Author Share Posted April 13, 2013 Mafia - I didn't ment to be mean to you. If you'd watch the movie you'd get ,,joke". but if you feel insulted then I am sorry. ;p Item: public class ItemIngot extends Item { public ItemIngot(int id) { super(id); maxStackSize = 64; setCreativeTab(CreativeTabs.tabMaterials); } } Main: public static final Item BarSilver = new ItemIngot(1000).setIconIndex(0).setItemName("SilverBar"); Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.