setDaylightCycle

abstract suspend fun setDaylightCycle(newDaylightCycle: Boolean): HouseSettings

Sets whether the daylight cycle should be enabled.

Return

the HouseSettings object

Parameters

newDaylightCycle

true to enable the daylight cycle, false to disable