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.

WaromiV

Members
  • Joined

  • Last visited

  1. yes, but idk how to impliment it correctly
  2. 1.16.5
  3. is it possible? and how can i trade?
  4. can you show an example please?
  5. private static final KeyBinding toggle = new KeyBinding("encrypt.key.toggle", 79, "key.categories.encrypt"); private static final Logger LOGGER = LogManager.getLogger(); private static Boolean toggled = false; private void setup(final FMLCommonSetupEvent event) { ClientRegistry.registerKeyBinding(toggle); } @SubscribeEvent public static void onClientTickEvent(final TickEvent.ClientTickEvent event) { if (event.phase != TickEvent.Phase.END) return; if (toggle.isPressed()) { if (toggled) { toggled = false; LOGGER.info("off"); } else{ toggled = true; LOGGER.info("on"); } } } this is not working
  6. ? private static final KeyBinding toggle = new KeyBinding("encrypt.key.toggle", 79, "key.categories.encrypt");
  7. I want the program to write to the console if I press the "O" button and when I press it again it will write another text. How to do that?

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.