minecraft daylight cycle code example Example: minecraft disable day night cycle /gamerule doDaylightCycle false