When using the '/time' command, the local difficulty counter seems to be reset.
Linked issues
is duplicated by 2
Comments 3
Changing the time of the world will move it between different phases of the moon cycle, which will affect global difficulty. As far as I can tell, no other influence happens to the actual local difficulty.
/time set day resets the world time to the time that day is interpreted as. this time effects the worldtime which affects the globalworldtime portion of the regiondifficulty / DifficultyInstance class.
Where as sleeping in a bed will result in
long i = this.worldInfo.getWorldTime() + 24000L;
this.worldInfo.setWorldTime(i - i % 24000L);
Which will end up setting the time to the next day, bumping the difficulty level higher.
Whether either of these events are supposed to be tied to the difficulty only Mojang know, but I suspect that either /time set day/night etc should either go to the next day, OR the difficulty should be tied to the total amount of ticks in the world instead of days passed OR the number of days passed for the difficulty counter should be counted separately and maybe be manipulated by subcommands of the /difficulty command.
Confirmed.