Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TastesLikeBleach

Members
  • 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.