I don't think real time can be updated for 1.3. because either it would break beds or beds would break it. the addition of beds effectively ruined realtime. the only way around it would be to overhaul and make it so that realtime changes the duration of a minecraft second to match or closely resemble a RL second. thus making daylight the same amount of time but nighttime skippable
I don't think real time can be updated for 1.3. because either it would break beds or beds would break it. the addition of beds effectively ruined realtime. the only way around it would be to overhaul and make it so that realtime changes the duration of a minecraft second to match or closely resemble a RL second. thus making daylight the same amount of time but nighttime skippable
I have been pretty overwhelmed with college, work, and RL stuff that I haven't been modding at all, but more than likely beds just wouldn't do anything. The time mod is just 2 lines of code that replaces the sky's calculation for time to be based off of the system time. You would go to bed, minecraft's internal clock will do its thing, but the sky would continue to be based off of your system clock.
If you wanted to mod this yourself and you have MCP open up the world class, look for getCelestialAngle and replace the code inside that function with
Date currentDate = new Date(System.currentTimeMillis());
return worldProvider.calculateCelestialAngle((currentDate.getHours()*100 + currentDate.getMinutes() - 6000), f);
if you do this with an already modded minecraft then it should be compatible with whatever mod your running. The dark sky mod goes through a lot of different classes and makes changes so that one isn't as easy, but if someone with the free time wants to take it over I could probably walk them through on the code changes.
EDIT: My own code is bad... that must have been a copy of when I first started testing it as that is way the hell off... it should be
Date currentDate = new Date(System.currentTimeMillis());
return worldProvider.calculateCelestialAngle((currentDate.getHours()*1000 + currentDate.getMinutes()*10 - 6000), f);
You would go to bed, minecraft's internal clock will do its thing, but the sky would continue to be based off of your system clock.
That is what I meant by breaking beds. sorry if I used terminology incorrect in the field of modding. I understand RL responsibilities and although this is my absolute favourite mod on this entire site. I will not dare recreate it. thank you for the code, but knowing me i'd break my minecraft using it
Update for Real Time, I doubt I will get one out for Dark Sky soon, unless I get a reduction in hw/tests. If you sleep in a bed with it, time does not move forward.
New Real Time mod that is not based off of system time so it should work with beds. Not fully tested, and it may not be exactly 1 to 1 real time, but should be pretty close, or at least it was on my system.
Get it here: http://www.mediafire.com/?34u89uwkz14ibii
Actually, on second thought, I don't like this version. It appears to run off of my system time instead of its own internal time? Before I installed this mod it was almost night in my world and I was all ready to hunt creepers and spiders and skeletons for resources, but now it's early afternoon...same as my system clock.
Don't get me wrong, I really do love and appreciate the concept behind this idea, but I just like the idea of playing on the game's time instead of syncing with my own. :smile.gif:
Actually, on second thought, I don't like this version. It appears to run off of my system time instead of its own internal time? Before I installed this mod it was almost night in my world and I was all ready to hunt creepers and spiders and skeletons for resources, but now it's early afternoon...same as my system clock.
Don't get me wrong, I really do love and appreciate the concept behind this idea, but I just like the idea of playing on the game's time instead of syncing with my own. :smile.gif:
There is a second version in which the time have real speed but isn't the same as the system. If you want I can update it for you.
You could offer both. Some people would prefer to have the in-game time the same as the "real world", whereas others -- me included -- would like to have the game retain its 24-hour days independent of the system time. :smile.gif:
You could offer both. Some people would prefer to have the in-game time the same as the "real world", whereas others -- me included -- would like to have the game retain its 24-hour days independent of the system time. :smile.gif:
I've update version 2 too! Check my older post :smile.gif:
This will make it so the sky/fog/clouds are always black. The stars are also gone.
Since when do we not have stars at night? Do you live in New York or something?
Some texture packs look better with no stars, like the Tron pack. I am working on a GUI that will allow stars, clouds, moon, sun, to be enabled/disabled and to change the colors of the sky/fog in game. I might make a similar GUI for time mods.
I have been pretty overwhelmed with college, work, and RL stuff that I haven't been modding at all, but more than likely beds just wouldn't do anything. The time mod is just 2 lines of code that replaces the sky's calculation for time to be based off of the system time. You would go to bed, minecraft's internal clock will do its thing, but the sky would continue to be based off of your system clock.
If you wanted to mod this yourself and you have MCP open up the world class, look for getCelestialAngle and replace the code inside that function with
Date currentDate = new Date(System.currentTimeMillis());
return worldProvider.calculateCelestialAngle((currentDate.getHours()*100 + currentDate.getMinutes() - 6000), f);
if you do this with an already modded minecraft then it should be compatible with whatever mod your running. The dark sky mod goes through a lot of different classes and makes changes so that one isn't as easy, but if someone with the free time wants to take it over I could probably walk them through on the code changes.
EDIT: My own code is bad... that must have been a copy of when I first started testing it as that is way the hell off... it should be
Date currentDate = new Date(System.currentTimeMillis());
return worldProvider.calculateCelestialAngle((currentDate.getHours()*1000 + currentDate.getMinutes()*10 - 6000), f);
That is what I meant by breaking beds. sorry if I used terminology incorrect in the field of modding. I understand RL responsibilities and although this is my absolute favourite mod on this entire site. I will not dare recreate it. thank you for the code, but knowing me i'd break my minecraft using it
Get it here:
http://www.mediafire.com/?34u89uwkz14ibii
Almost three weeks later and there's no update to this fine mod? ADD is one hell of a disease. :sad.gif:
First version (based on your system's time):
Don't get me wrong, I really do love and appreciate the concept behind this idea, but I just like the idea of playing on the game's time instead of syncing with my own. :smile.gif:
There is a second version in which the time have real speed but isn't the same as the system. If you want I can update it for you.
V1.3 not V1.5_1
No download...
I've update version 2 too! Check my older post :smile.gif:
Since when do we not have stars at night? Do you live in New York or something?
Some texture packs look better with no stars, like the Tron pack. I am working on a GUI that will allow stars, clouds, moon, sun, to be enabled/disabled and to change the colors of the sky/fog in game. I might make a similar GUI for time mods.
GUI is coming along nicely, I am working on file saving for it right now so there will be no need to reset everything.