Jump to content

Recommended Posts

Posted

My item, which is multiple items in one ID, doesn't show all of the other items in the creative tab. I am updating from 1.6.4. Also, I am able to craft the items in-game, so I know they are registering.

Here is my code:

 

  Reveal hidden contents

 

Let me know if anything is missing and I will add it to the post.

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Posted
  On 3/16/2014 at 2:34 AM, F1repl4ce said:

@SideOnly(Side.CLIENT)
public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List)
{
         for (int j = 0; j < itemcount; ++j)
         {
                 par3List.add(new ItemStack(this, 1, j));
         }
}

Let me know if anything is missing and I will add it to the post.

<cough> @Override <cough>

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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