Phantom spawning is not synchronized with the timescale
alexiscoutinho opened this issue ยท 0 comments
It is widely known that phantoms can spawn after 3 sleepless nights. However, the game doesn't actually check for elapsed days but actually for the number of ticks since last slept/death (72000). Therefore, changing the time speed in Hourglass will throw off the phantom spawning algorithm. On a slow timescale server (i.e. 8h per Minecraft day), phantoms may spawn in the first night and, on fast timescale servers, phantoms will require more sleepless nights to spawn.
It would also be very useful if this mod offered a config option determining the number of sleepless nights required for phantoms to start spawning. I.e. one may want to allow phantom spawns after only 1 or 2 sleepless nights to mimic how people quickly 'break' when not sleeping in real life.