Jump to content

Ynscription

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Ynscription

  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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.