How do you select a specific creative tab for a TOOL?

Started by Alienforce2k on Tue, 12/30/2014 - 23:09
Last seen on 14:40, 23. Jul 2015
Joined Jun 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How do you select a specific creative tab for a TOOL?
Tue, 12/30/2014 - 23:09

(Sorry if this is the wrong place to put this.) I want to make a sword for my mod. I would like to put all of my mods into one creative tab within Minecraft's Creative Mode in-game. However, when I select "Sword" in the dropdown menu forselecting what tool it is, it ends up in the "Combat" Tab. How do I override this automatic placement and put it in MY tab, if it's even possible. (I don't mind even coding it, I do that with crafting recipes!) Thanks!

Last seen on 18:57, 28. Aug 2015
Joined May 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You need to edit the code for
Wed, 12/31/2014 - 11:55

You need to edit the code for that.

There should be something like .setCreativeTab

It would be easy to to change that just create a Block/Item which is in this tab and copy the .setCreativeTab line to the sword(you need to replace it in the sword)

Last seen on 14:40, 23. Jul 2015
Joined Jun 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:You need to edit the code for
Wed, 12/31/2014 - 16:18

@#1 Thank You! I was already trying to do this before, but I forgot to add a dot. As it turns out I needed to do this under static: block.setCreativeTab(MytabHere.tab).
Thanks!

Last seen on 02:08, 14. Dec 2015
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Where in static?
Sat, 03/28/2015 - 05:41

Where in static?