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.

Emeralaxy

Members
  • Joined

  • Last visited

Everything posted by Emeralaxy

  1. My config file doesn't seem to be working, it shows up in game and I can change the settings and it works but for some reason it doesn't do anything. Here is my code for the config: @SuppressWarnings("WeakerAccess") @Config(modid = MobsofTime.MODID) @LangKey(MobsofTime.MODID + ".config.title") public class Settings { @Name("Time Manipulation") @Comment("Whether or not items can manipulate server time") public static boolean timeManipulation = true; @Mod.EventBusSubscriber(modid = "mobsoftime") private static class EventHandler { /** * Inject the new values and save to the config file when the config has been changed from the GUI. * * @param event The event */ @SubscribeEvent public static void onConfigChanged(final ConfigChangedEvent.OnConfigChangedEvent event) { if (event.getModID().equals("mobsoftime")) { ConfigManager.sync("mobsoftime", Config.Type.INSTANCE); } } } } And here is my code for something activated by the config: if (Settings.timeManipulation = true) { if ((entity.isSneaking())) { TickrateAPI.changeServerTickrate(20F); } else { TickrateAPI.changeServerTickrate(960F); } } else {}

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.