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

I have a bunch of options I display for my mod using the GuiConfig system.  Some of the options require restart, others do not.  What I am finding is that all the tooltips for my options indicate that a restart is required regardless of the MC and world restart being set to false for the config entry.

 

I should point out that altering a settings that requires restart will result in the confirmation dialog that the user has to click "I Understand".  Furthermore, if I go in and change settings for config items that do not require restart I get no confirmation dialog as expected.  My conclusion from this is that my flags are operating is intended, but for some reason the config framework is needing some other information I am not aware of.

 

My hope is that someone else has tripped over this issue and can provide insight.  I can't preclude that I haven't done anything bonehead since this is my first time dealing with this subsystem, but to me it seems to be a pretty straight forward deal.

  • Author

And for today's "Doh!" moment I present the following....

 

The GuiScreen instance has "global" settings for flags indicating whether config changes require world or Minecraft restart.  In my CTOR for the derived class I passed in true for both these values which will override whatever the individual ConfigCategory/Property objects are set to.  I changed those suckers to false and I am good to go.

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.