Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/daylock

From SAS Gaming Wiki
Revision as of 11:35, 23 November 2025 by imported>Ja17
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Exclusive Template:Infobox command Locks and unlocks eternal Minecraft:daytime.

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

Syntax

daylock [lock: Boolean]
alwaysday [lock: Boolean]

Arguments

Template:Argument

Specifies whether the eternal daytime is locked or not.
Template:Arg desc If not specified, defaults to true. Note that this argument has the opposite sense from the gamerule dodaylightcycle command's argument.

Result

Template:Result table Template:Result table Template:Result table Template:Result table

History

Bedrock Edition

Template:HistoryTable

Minecraft Education

Template:HistoryTable

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/daylock Minecraft:ja:コマンド/daylock Minecraft:lzh:令/daylock Minecraft:nl:Opdrachten/daylock Minecraft:pt:Comandos/daylock Minecraft:ru:Команды консоли/daylock Minecraft:zh:命令/daylock