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.

Moocowett

Members
  • Joined

  • Last visited

  1. I have an item called Enchantment Shard, and I want to make it so that when I craft 4 around a book, it gives a random level 1 Enchanted book. Currently, I have, in pre-init, GameRegistry.addRecipe(new EnchantShardHandler(enchantshard)); EnchantShardHandler looks like this: I currently have it made so that, when I craft the enchanted book, it is the same until I start minecraft again. Then it makes it different. For instance, I will run my mod, and craft the recipe, and I get an Efficiency 1 book. Then I craft it again, and it always is Efficiency 1. I reboot the game, and it gives me Punch 1 each time. I have no idea how to make the recipe change output each time.

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.