Posted April 12, 201312 yr 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 1.7.10 is no longer supported by forge, you are on your own.
April 12, 201312 yr 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) Use examples, i have aspergers. Examples make sense to me.
April 12, 201312 yr Author 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) 1.7.10 is no longer supported by forge, you are on your own.
April 12, 201312 yr i just tested it in my elipse you must be doing something else wrong? i tested ti before i posted it, btw update. Use examples, i have aspergers. Examples make sense to me.
April 12, 201312 yr 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.
April 12, 201312 yr Just duplicate the item and assign it to the other creative tab, thats the easiest solution there is.
April 13, 201312 yr 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...
April 13, 201312 yr Author ,,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). 1.7.10 is no longer supported by forge, you are on your own.
April 13, 201312 yr Author 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"); 1.7.10 is no longer supported by forge, you are on your own.
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.