Posted November 21, 201212 yr He guys! public class CreativeTabMiP extends CreativeTabs { public CreativeTabMiP(int par1, String par2Str) { super(par1, par2Str); // TODO Auto-generated constructor stub } public CreativeTabMiP(String label) { super(label); // TODO Auto-generated constructor stub } @SideOnly(Side.CLIENT) public String getTabLabel() { return "MiningPlus"; } @SideOnly(Side.CLIENT) public int getTabIconItemIndex() { return MiningPlus.stonecoal.shiftedIndex /* for blocks use “blockName.blockID” */; } } Ingame i has False name, and shows Stoneblock but i choose stonecoal item
November 21, 201212 yr You should look here: http://www.minecraftforge.net/forum/index.php/topic,3425.0.html I might make a wiki entry on this. Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.