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.

AlexCubed

Members
  • Joined

  • Last visited

  1. Hi, I'm sorta new to Minecraft modding but am learning the best I can. My issue is I want to check if an item exists(from other mods), and then if it does to add recipes for it. If it doesn't then it should skip adding the recipes. I've tried what I can but even if I nestle the registerRecipes command under some if statement, it gets checked and Minecraft crashes saying the item doesn't exist. In pseudo code I'm looking for this, but without crashing the game if the items don't exist. If item exists { registerRecipes involving item } else Don't crash Can anyone point me in the right direction? I've been Googling and looking at http://linode.narc.ro/forge-javadoc/ for an hour trying to find something to help. I remember finding something a few days ago that checks for items, probably should have bookmarked it.

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.