Posted June 29, 201312 yr I'm working on a big project and I'm wondering how to make an item have a description like potions, I haven't tried any code because I have no idea what to try. Please help.
June 29, 201312 yr Have you searched for some tutorials yourself? That is the first thing that you have to do? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 29, 201312 yr @SideOnly(Side.CLIENT) public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) { list.add("your description"); }
June 29, 201312 yr @SideOnly(Side.CLIENT) public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) { list.add("your description"); } You don't have to just give people code, they need to search/research. Like he can look at the potion class and search there. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 29, 201312 yr I think the description of potions is added in snapshot 1.6 MC version... Check out my m2cAPI: http://pastebin.com/SJmjgdgK [WIP! If something doesnt work or you have a better resolution, write me a PM] If you want to use my API please give me a Karma/Thank you Sorry for some bad words ´cause I am not a walkin´ library!
June 29, 201312 yr I think the description of potions is added in snapshot 1.6 MC version... There's already some description to the potions before 1.6. You need to look at the actual ItemPotion class, not at the Potion classes. 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.