Minecraft:Commands/daylock: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
|oplevel=1 | |oplevel=1 | ||
|cheat=1 | |cheat=1 | ||
|alias={{cmd|alwaysday}} | |alias={{cmd|alwaysday|link=none}} | ||
}} | }} | ||
Locks and unlocks eternal daytime. | Locks and unlocks eternal [[Minecraft:daytime]]. | ||
Sets the game option "Always Day" to the argument value. If the argument is <code>false</code>, turns on the "Do Daylight Cycle" game option. If the argument is <code>true</code> or is omitted, turns off the "Do Daylight Cycle" game option and sets the time of day (<code>time daytime</code> value) to 5000 ticks, which is one in-game hour before noon. | Sets the game option "Always Day" to the argument value. If the argument is <code>false</code>, turns on the "Do Daylight Cycle" game option. If the argument is <code>true</code> or is omitted, turns off the "Do Daylight Cycle" game option and sets the time of day (<code>time daytime</code> value) to 5000 [[Minecraft:ticks]], which is one in-game hour before noon. | ||
==Syntax== | ==Syntax== | ||
| Line 47: | Line 47: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/daylock | [[Minecraft:de:Befehl/daylock]] | ||
ja:コマンド/daylock | [[Minecraft:ja:コマンド/daylock]] | ||
lzh:令/daylock | [[Minecraft:lzh:令/daylock]] | ||
nl:Opdrachten/daylock | [[Minecraft:nl:Opdrachten/daylock]] | ||
pt:Comandos/daylock | [[Minecraft:pt:Comandos/daylock]] | ||
ru:Команды консоли/daylock | [[Minecraft:ru:Команды консоли/daylock]] | ||
zh:命令/daylock | [[Minecraft:zh:命令/daylock]] | ||
Latest revision as of 11:05, 25 April 2026
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
- 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 thegamerule dodaylightcyclecommand's argument.
Result
Template:Result table Template:Result table Template:Result table Template:Result table
History
Bedrock Edition
Minecraft Education
External links
Minecraft:de:Befehl/daylock Minecraft:ja:コマンド/daylock Minecraft:lzh:令/daylock Minecraft:nl:Opdrachten/daylock Minecraft:pt:Comandos/daylock Minecraft:ru:Команды консоли/daylock Minecraft:zh:命令/daylock