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