Whatever time is given, the weather always comes back earlier. For example, 1'000'000 seconds would be equal to 11.6 DAYS, but it starts raining again over the course of maximally the next hour D:
Comments 8
@Neospector the command description in /help says it's in seconds, but even if it were in ticks, 0.6 days are nowhere near the hour in which it usually starts raining again
@Hawk nope, it's happening on a server that is permanently running as well as single player (without quitting).
When you supply a time, it checks if it is between 1 and 1,000,000. If it is, it is then multiplied by 20 to, I assume, convert it from seconds to ticks. The thing is that the "clear" argument doesn't accept the time you supply. When you do "/weather clear 1000000" it does 4 things:
1: set rainTime to 0
2: set thunderTime to 0
3: set raining to false
4: set thundering to false
Basically, it acts the same as "/toggledownfall" because it doesn't start a timer that has to end before the game tries to change the weather again.
For a bit more information, here are the other two weather options:
"rain"
1: set rainTime to user-supplied time
2: set raining to true
3: set thundering to false
"thunder"
1: set rainTime to user-supplied time
2: set thunderTime to user-supplied time
3: set raining to true
4: set thundering to true
@Cody Thanks for checking the code 🙂
I didn't think of doing so myself for some reason, but this means it's a bug, right? Because they say it clears the weather for the amount of time given...
I seem to be having this problem, at least I think so. I type /weather clear 1000000 to stop rain and thunder, but since 1.7❓ it starts again in a matter of a Minecraft day or two.
Is time part of the command measured in ticks or in seconds?
1,000,000 ticks would be about 0.6 days though? So I'm not sure. My calculations may be off. Someone would have to clarify for me.