Jump to content

TastesLikeBleach

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by TastesLikeBleach

  1. Ok but i figured it out though: In 1.10 the last parameter in addInformation was a boolean value, Now it's a class called ITooltipFlag @Override public void addInformation(ItemStack stack, World playerIn, List<String> tooltip, ITooltipFlag flagIn) { super.addInformation(stack, playerIn, tooltip, flagIn); tooltip.add(TextFormatting.GRAY + "" + TextFormatting.ITALIC + Util.getLang().localize(getUnlocalizedName() + ".tooltip")); }
  2. I've looked at a bunch of tutorials and read the forge docs but nothing has worked thus far, Also both of these blocks sound like stone when walked on and broken so i need to know what's going on there too. https://pastebin.com/EH7g6P2p <- BlockBanannaLeaves.java https://pastebin.com/7rr6viUb <- BlockBanannaLog.java
  3. my code is freaking out, I just about have everything maybe functional, (1.10.2 -> 1.12.2) but I can't figure out how to fix my tooltips, I have 3 Item classes that incorporate tooltips all of the code they use for this is copied from this first file, with the text formatting tweaked. ItemBloodstone.java
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.