Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Sign in to follow this  
Followers 0
Gekkey Mathews

Variable day length

8 posts in this topic

I'm not sure if this is possible or not, but it would be really neat if the length of day changed according to the seasons. With summer having the longest days and the shortest nights, and winter the opposite.

The leaf colors right now really add to the feel of time passing, but I think adding variable day-lengths could take it a step further.

1

Share this post


Link to post
Share on other sites

Mojang is working on exactly that in vanilla minecraft for 1.6

1

Share this post


Link to post
Share on other sites

Or just make the day scale with your z-coordinate..

Now that would make living at z=+-20k a real challenge!

1

Share this post


Link to post
Share on other sites

Or just make the day scale with your z-coordinate..

Now that would make living at z=+-20k a real challenge!

"or just" heh. That's much harder.
1

Share this post


Link to post
Share on other sites

I could figure out a formula to use for the scaling day/night cycle since that's easy, I just don't know how the day/night cycle is programmed.

Yes, I did say I wanted to study java for things, but never got to it after I got a job...

Edit: I'll do it tomorrow, because I'm too busy to think too much.

Edit2: I finally realized the difficulty of this. (no, not the formula) Isn't it possible to calculate length of day per chunk? Makes it somewhat more workable.

1

Share this post


Link to post
Share on other sites

I could figure out a formula to use for the scaling day/night cycle since that's easy, I just don't know how the day/night cycle is programmed.

Yes, I did say I wanted to study java for things, but never got to it after I got a job...

Edit: I'll do it tomorrow, because I'm too busy to think too much.

Edit2: I finally realized the difficulty of this. (no, not the formula) Isn't it possible to calculate length of day per chunk? Makes it somewhat more workable.

the formula isn't the problem. It's getting minecraft to behave the way we want without editing base files
0

Share this post


Link to post
Share on other sites

You can already scale day length with a config file, so I dont think it would be that big of a stretch to change it in-game according to the season.

But for the latitude based time, imagine there's one person at 20km south and one person at 20km north. The sun is global in minecraft. So day for one would be night for another, but it can't be. You could set the sun to be player-specific, but you need to mess with the way minecraft servers handle the world on a more fundamental level than changing or adding blocks and entities.

The only plausible way is to change the light levels per chunk and ignore the sun.

0

Share this post


Link to post
Share on other sites

You can already scale day length with a config file, so I dont think it would be that big of a stretch to change it in-game according to the season.

But for the latitude based time, imagine there's one person at 20km south and one person at 20km north. The sun is global in minecraft. So day for one would be night for another, but it can't be. You could set the sun to be player-specific, but you need to mess with the way minecraft servers handle the world on a more fundamental level than changing or adding blocks and entities.

The only plausible way is to change the light levels per chunk and ignore the sun.

season isn't difficult, I think it's changing when day/night occurs for different players at the same time, which is what latitude would force
0

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0