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