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.

KhanBhai

Members
  • Joined

  • Last visited

  1. BTW im using 1.8.9
  2. so um I need some help with my mod... wut I'm trying to do is that after every 10 min (20x10=200 ticks) it makes the player say something in chat. this will run forever. this is wut I have so far but it not working. I recently got into java so IDK wut I'm doing so plz help. I think that the code is accurate and should work but it don't. public class Timer { private int timer = 0; @SubscribeEvent public void onPlayerTick(PlayerTickEvent evt) { tickCounter++; if (timer == 200) { <MOD NAME>.getInstance().getMinecraft().thePlayer.sendChatMessage("10min passed bud"); timer =0; } else { tickCounter =0; } } }

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.