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.

GreenbackCafe

Members
  • Joined

  • Last visited

Everything posted by GreenbackCafe

  1. How do you correctly use those fields after onRegisterItems has completed?
  2. This did not work for me. The items still showed up as normal, but the anvil is still not accepting the repair item even though I called the fields. GitHub updated
  3. I'm in the process of rewriting my code after finding a better tutorial, and I was wondering how to use an item as a repair material for tools/armor. Before, I would just call the variable directly from my ItemList (which would have things like "public static Item copper_ingot;"), and the ItemList would be used to statically initialise the items. Now that I've learned that's not a good idea, I switched to Cadiboo's method, but I no longer have a variable to reference as an Item for things like this. Is there another way to do this? I'd also appreciate any general suggestions on how to improve my code. https://github.com/GreenbackCafe/randommod
  4. Whoops, I posted this in the wrong place. My bad
  5. I'm in the process of rewriting my code after finding a better tutorial, and I was wondering how to use an item as a repair material for tools/armor. Before, I would just call the variable directly from my ItemList (which would have things like "public static Item copper_ingot;"), and the ItemList would be used to statically initialise the items. Now that I've learned that's not a good idea, I switched to Cadiboo's method, but I no longer have a variable to reference as an Item for things like this. Is there another way to do this? I'd also appreciate any general suggestions on how to improve my code. https://github.com/GreenbackCafe/randommod
  6. You're right, I should use a better tutorial. Luckily I didn't spend too much time on this yet.
  7. When I run my mod using eclipse, everything is working. But when I use gradlew build in the command prompt and put the jar into my mods folder, it crashes. Jar attached. Forge version: 1.13.2 - 25.0.219 Crash report: https://pastebin.com/Y6akn6pz Any help would be appreciated. modid-1.0.jar

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.