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.

Unit

Members
  • Joined

  • Last visited

  1. Thanks for your quick answer. I think this topic is closed. I still have some issues with my WorldGenerator (for some reason it works like a charm with Minecraft vanilla blocks, but not with mines), but I guess it's a subject for another topic. EDIT: I was wrong, it actually works, I don't know why I couldn't find any veins. No luck I guest.
  2. Hi dear modders, I'm quite new to modding (but not to Java ) and I need some explanations about the Forge 1.12 registry event system. Registering an Item or a Block seems quite easy to do, but I'm trying to add a basic WorldGenerator to create some ore vein. The tutorial I'm following is now old, so I guess the registration part isn't up to date. l supposed we should now use some event, but I'm surprised, WorldGenerator isn't suitable for RegistryEvent.Register<T extends IForgeRegistryEntry==<==T>>. So what is the new way to register it? Also, I discovered Recipe is an instance of IForgeRegistryEntry. So I suppose I should use the event for registration. For now I'm doing it this way: Is it the intended way to do this? What is your way to register recipes from JSON files? Any detail would be appreciated.

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.