Log inGet started
World

Castaway Isle: Island Survival and Crafting Kit

Branchmain
Branchesmain
Commit2a168afc93

README.md

NightDirector

Runs the night on the host. Put it on a synced entity that also has a spawnerKit Spawner (it adds one itself if missing). Watches worldClockKit's darkness; at dusk it releases groups of creatures in the dark near players, keeps every creature out of firelight (they prowl the edge), and at dawn sends them all away to spawnerKit's pool. night and nightNumber are synced so every peer hears dusk and dawn. startNight() and endNight() drive it by hand.