Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

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.

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

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.

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.

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

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

  • Author

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.