Lock Time At Day (Bedrock Only)
Stop the day-night cycle and freeze time at daytime
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Locks the time permanently at day. This is a Bedrock-exclusive command. On Java, use the doDaylightCycle gamerule. Useful for always-daytime servers or creative builds.
/daylock8 characters
- Java: no
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Time freezes at day permanently.
- The sun stops moving; night never comes.
Related commands
Become nearly invincible
/effect give @p resistance 999999 255 trueSwitch to Peaceful mode so hostile mobs don't spawn
/difficulty peacefulGet coordinates of the nearest village structure
/locate structure villageLocate the stronghold with the end portal
/locate structure stronghold