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.

Leaderboard

Popular Content

Showing content with the highest reputation on 05/25/19 in all areas

  1. If you look at the usages of ItemRecord#getComparatorValue you can see that it is used for the comparator redstone output strength, not for comparing against the record in the jukebox. You can put whatever you'd like in it, not that you can have more than 16 redstone strength variants anyway, and I doubt players who use modded need your disk to output a uniqie strength anyway.
  2. It isn't though. Just instantinate your items in the registry event. Your code currently instantinates them in a static initializer which is bad. In my case I just like to keep a reference to all my items with ObjectHolder annotation, but you don't need that. Thus if you don't keep the references and use the correct way of instantinating items in the registry event and unlike me use an actual loop/stream to register your models you are writing less code than what you have right now. Not to say that using static intializers will cause issues so you must instantinate your items in the registry event anyway.
  3. Have you actually tried clicking "Yes"? What happens?
  4. At your json model file for the item change the word "generated" to "handheld".
  5. Please provide your code in a GitHub repository

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.