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.

Featured Replies

Posted

Just added a update checker to my library mod and now when the game loads up i see this output in my console, anyone have any idea whats causing it or how to fix it?

Adding break points and bit of debugging shows its related to registry names on my items but i haven't changed them at all and was not getting this before i added my update checker

 

[14:30:52] [main/INFO]: Potentially Dangerous alternative prefix `crafthorsearmor` for name `horse_armor`, expected `apexcore`. This could be a intended override, but in most cases indicates a broken mod.

Source Code

  • Author
1 hour ago, diesieben07 said:

You cannot create items in a static initializer. It must happen explicitly in the proper events, ideally RegistryEvent.Register<Item>.

Also, Forge already has an update checker, don't write your own.

thanks, using the registry events fixed my issue :D dont know why i didnt use them in the first place, as for using forges update checker, dont know if its possible but i wanted 1 json file for all my mods that why wrote my own update checker, nothing like forges update checker that allows for a change log and stuff just very simple for multiple mods in 1 file

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.