Jump to content

Recommended Posts

Posted

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. :o

Thanks,

Ernio

1.7.10 is no longer supported by forge, you are on your own.

Posted

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.

Posted

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.

Posted

,,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.

Posted

Mafia - I didn't ment to be mean to you. If you'd watch the movie you'd get ,,joke". :D 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.