Posted February 15, 201411 yr How do I add new lines to the tooltip of my block in 1.7.2? In 1.6.4 there was the addInformation() method, but that seems to be missing in 1.7.2. Does anyone know what it has been replaced with?
February 15, 201411 yr I'm clueless on how to do this, but you could create your own ItemBlock class and redirect the Item.getItemFromBlock to it. Kain
February 15, 201411 yr Author That's what I was trying to avoid initially but now I've realized I have to use NBT anyway, so that's probably the most efficient and elegant way to do that, I guess.
February 15, 201411 yr I haven't messed around with 1.7 yet, but I suggest giving the block it's own ItemBlock, and using the addInformation() method to that. if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
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.