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.

Ynscription

Members
  • Joined

  • Last visited

  1. Okay I was able to pull it out after a while. The problem was that I had to return a EnumSet of some sort in the ticks() method, so I did this:
  2. Hello there, I've been trying to make a Scheduled Tick handler, but I'm not sure where to register it and how. This is how I do it nowin the base mod class: Note that chunkControl is an object of the base mod class(and in every other thing works ok). And this is the Tick Handler: When I debug it doesn't go through any of the handler methods. What am I doing wrong? Also and slightly unrelated, the return of the nextTickSpacing method is the amount of ticks until the tickStart is called? or is it of the tickEnd? or I'm missing absolutely everything? Thank you.
  3. Thank you very much vroominator. Wouldn't this be very inefficient? it would check every tick or so if there is sunlight, while calling the method every 20 minutes would... well do it once every 20 minutes.
  4. Than you and indeed I can work it out. But still I don't know how long is a minecraft day
  5. Hello there I've been investigating and I don't seem to find any clue about any of the following questions: - How many seconds /nanoseconds is a tick in minecraft? - How many ticks does a minecraft day have? - Is a minecraft day 24 minutes long? If not, how long is it? Thank you. For further information I'm trying to call an event on sunrise, I'm trying to do it with a ScheduledTickHandler. Is there a better way?
  6. Wow thanks! It worked Though I would like to know why that happens
  7. The exact same thing happens to me. For further information I run it in a Windows Server 2008 64 bits (due to a little inconvinience with my actual computer) using java 64 bits and eclips. And yes I'm pretty sure that both Minecraft and Eclipse are closed. Thank you.

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.