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

4 posts / 0 new
Last post
Offline
Last seen: 2 years 3 months ago
Joined: 06/01/2014 - 15:48
Gems: 0
How do you select a specific creative tab for a TOOL?

(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!



Offline
Last seen: 2 years 1 month ago
Joined: 05/16/2014 - 13:42
Gems: 0
You need to edit the code for

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)

No longer using MCreator

Offline
Last seen: 2 years 3 months ago
Joined: 06/01/2014 - 15:48
Gems: 0
RE:You need to edit the code for

@JTK222 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!

Offline
Last seen: 1 year 10 months ago
Joined: 08/21/2014 - 13:59
Gems: 0
Where in static?

Where in static?