Commands/daylock

From Minecraft Wiki
Jump to: navigation, search
daylock
Aliases

/alwaysday

Restrictions

Operator

Information icon.svg
This feature is exclusive to Bedrock Edition and Education Edition.

Locks and unlocks the day-night cycle.

Syntax[edit]

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

Arguments[edit]

lock: Boolean

Specifies whether locks or not, must in between true or false. If not specified, defaults to true.

Result[edit]

Fails if the arguments are not specified correctly.

On success, sets the game option "Always Day" to true or false.

History[edit]

Bedrock Edition
1.2.0?Added /daylock.