I have a Minecraft project running with a few friends, in which we want to have a day (day + night) as 24 hours. We can then set the time to the real life time, but unfortunately we don't know which tickspeed we have to set it on.
My second question is: how do I change the tick speed?
To make this possible, you need a plugin. This is not possible with a command.
But you change the tick speed like this:
/ gamerule randomTickSpeed [number]
The default tick speed is 3.
1000 ticks corresponds to 1 hour in terms of day length.
72,000 GameTicks pass in one RL hour.
Therefore, every 72,000 ticks you have to advance the Minecraft time by 1000 ticks. (You could count how many ticks went by using a scoreboard. And then an output every 72,000.)
Of course it works with command blocks.
And it's not even about the RandomTickSpeed, it's about the normal ticks.
Note:
The whole thing is postponed by 6 hours!
0 = 6 o'clock
6000 = 12 o'clock
12000 = 6 p.m.
18000 = midnight.
You add an hour with / time add 1000.
How would I have to set the scoreboard then or What would I have to do that after 12 hours of RL time, 12 hours in Minecraft are over (ergo, the evening / night is)?
Thanks for the info ^^
So:
You have to switch off that the day passes automatically:
/ gamerule doDaylightCycle false
Then it's best to turn off CommandBlocks from spamming the chat:
/ gamerule commandBlockOutput false
Then you create a scoreboard that counts the ticks:
/ scoreboard objectives add TicksPassed dummy
In a command block that is set to repeat (bottom left in the command block) and in the spawn chunks (where the compass points), you write:
scoreboard players add TickCounter TicksPassed 1
Where the arrow of the previous command block points you place another one, which is set to Chain (bottom left) and Always Active (bottom right), with content:
execute if score TickCounter TicksPassed> = 72 run time add 1t
At this command block you connect another one, also on Chain and Always Active, but this must also be set to Conditional. Content:
scoreboard players set TickCounter TicksPassed 0
Now you activate a switch on the first command block and it runs.
Of course, synchronize the time to the present prehistory. For example, Enter at 9:00 p.m.: / time set 15000t
Please write if you have problems or questions or something.
Uff. I'm lost
In any case, many many thanks for the work.
However, I play due to mods in 1.7.10 … What do I do now ^^?
Oh. Bruh say that when I mention scoreboard 😂 yes it doesn't work.
Look for a plugin / mod that syncs Minecaft time with real time / down-slowed Minecraft time. (Ideally in English, you will find more there). I can't think of anything more.
As far as I know, 20 ticks are one second and therefore one minute is 1200 ticks and one hour is 72000 ticks. Or did you mean ingame time? But then a real-life minute is an in-game hour. This means:
0 = 6 o'clock
7200 = 12 p.m.
14400 = 6 p.m.
21600 = midnight
If that was correct so far.
Thanks xD