1

[1.8] [Vanilla] Need Help for create Creative Tabs :)

KinderrKill's Avatar KinderrKill9/23/16 5:47 am
1 emeralds 440 5
9/23/2016 7:43 am
McHorse's Avatar McHorse
Hello everyone, thanks to take care of this topic

First, this is some info

Version : 1.8
API : No forge
IDE : Eclipse

I update all my projet in 1.8, and i would like to make a new creative tab, but the problem is, the placement, one picture it's better all the words, so this is my problem



And this is my code :

Click to reveal
// News Creative Tabs
public static final CreativeTabs tabCustom = new CreativeTabs(12, "custom")
{

@Override
public Item getTabIconItem() {
return Items.banner;
}
};
public static final CreativeTabs tabCustom2 = new CreativeTabs(13, "custom2")
{

@Override
public Item getTabIconItem() {
return Items.banner;
}
};


And of course i modify this value

public static final CreativeTabs[] creativeTabArray = new CreativeTabs[14];


I see lot of forge tutoriel, and in this tutoriel a new page it's create and i don't know how to make this without forge.

Thanks you in advance for you help and i think you knew, but i'm french so my english it's not perfect ^^
Posted by KinderrKill's Avatar
KinderrKill
Level 1 : New Miner
0

Create an account or sign in to comment.

5

info Note: You're viewing a single reply. View all replies
1
09/23/2016 7:43 am
Level 71 : Legendary Unicorn
McHorse
McHorse's Avatar
Hm, I think Forge automatically manages creative tabs. Try looking up the code that is responsible for managing creative tabs in GuiCreativeInventory or something like that.

I can't really help with that, sorry :\
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome