Commands/daylock

Locks and unlocks eternal daytime.

Arguments

 * Specifies whether the eternal daytime is locked or not.
 * If not specified, defaults to . Note that this argument has the opposite sense from the   command's argument.

Result
On success, sets the game option "Always Day" to the argument value. If the argument is, turns on the "Do Daylight Cycle" game option. If the argument is  or is omitted, turns off the "Do Daylight Cycle" game option and sets the time of day (  value) to 5000 ticks, which is one in-game hour before noon.

History
命令/daylock