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.

Rackham

Members
  • Joined

  • Last visited

Everything posted by Rackham

  1. The thing is I'm trying to generate model and blockstate JSONs when some of them are missing on startup. I'm already generating them, but apparently, it is too late, as no matter in which event I create them it always gives the following error: [14:49:57] [Server-Worker-2/WARN] [minecraft/ModelBakery]: Unable to load model: 'yerfrio:elo#inventory' referenced from: yerfrio:elo#inventory: java.io.FileNotFoundException: yerfrio:models/item/elo.json My question is, In which event, or where, should I create the JSONs for the models and blockstates so that they already exist when they are used This is where I'm creating them for now ```java @SubscribeEvent public static void onItemRegistration(final RegistryEvent.Register<Item> itemRegisterEvent) { for(YerfrioItems item : YerfrioItems.values()) { AutoJSON.createItemJSONs(item); itemRegisterEvent.getRegistry().register(item.getInstance()); } } ```

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.