1

Custom Creative Tab

Nulcheck's Avatar Nulcheck2/11/13 6:06 pm
1 emeralds 1.8k 13
2/27/2013 9:59 pm
Nulcheck's Avatar Nulcheck
Hi i'm making a new mod, and i want a custom creative tab, i got the code and it puts it in, but it's on top of another tab (foods tab to be exact), and i can't click on my own tab. help?

oh, and one question: Do i have to use forge to get the custom tab to work right? or can i do it with ModLoader?

Thanks!

Posted by Nulcheck's Avatar
Nulcheck
Level 33 : Artisan Modder
46

Create an account or sign in to comment.

13

1
02/20/2013 5:31 pm
Level 1 : New Miner
billwa
billwa's Avatar
Sounds cool
1
02/20/2013 4:18 pm
Level 23 : Expert Modder
some1epic123
some1epic123's Avatar
If the tab is coded with forge then go into the tab's code
and find the line that looks like this:

public static final CreativeTabs tabYourTab = new TabYourTab(10, "YourTabName");

Leaving the 10 at 10 should be fine since it's
un used by vanilla minecraft

(Remember to change the number if it's used by another mod you
want to use with your mod!)

EDIT:

Actually I think 10 might be used by vanilla minecraft so you
might want to keep making that higher until it moves to the second creative tabs
page and doesn't move any vanilla tabs
1
02/27/2013 9:59 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
yeah i already got it...
1
02/20/2013 4:09 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
nvm, i switched to forge code...
1
02/12/2013 8:24 pm
Level 1 : New Miner
3slayer21
3slayer21's Avatar
yes thats what you have to do and i know how, post the codes and ill see if you have them
1
02/12/2013 8:12 pm
Level 13 : Journeyman Dragon
Alstar111
Alstar111's Avatar
you probably copied the exact coding for the foods tab so its exactly in the same spot you have to figure out which part is the placement part and move it over somehow.
1
02/12/2013 7:43 pm
Level 1 : New Miner
3slayer21
3slayer21's Avatar
Hey Can you post the code please, i think i know what is wrong, can you post the code for mod_******.class and tab*********.class
1
02/12/2013 4:11 pm
Level 66 : High Grandmaster Modder
duke_Frans
duke_Frans's Avatar
1
02/12/2013 4:25 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
wait, it didn't work, it's for forge, and i don't know how to code with forge.....i have normal modloader....
1
02/12/2013 4:14 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
holy mother of the herobrine, thank. you!
1
02/12/2013 4:08 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
ONI_LINKOr you could use the book page code idea to make a separate screen for your tabs.


yeah, i want like a new page in the creative tabs, like i've seen on TekkitLite, but idk if i have to use forge to do that...
1
02/11/2013 11:37 pm
Level 33 : Artisan Modder
Nulcheck
Nulcheck's Avatar
ONI_LINKWould It be possible to use tabs on e side of the inventory or something?

i was thinking that too....
1
02/11/2013 6:21 pm
Level 29 : Expert Network
Oni__
Oni__'s Avatar
Would It be possible to use tabs on e side of the inventory or something? Or you could use the book page code idea to make a separate screen for your tabs.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome