Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantom spawning is not synchronized with the timescale #35

Open
alexiscoutinho opened this issue Aug 27, 2024 · 0 comments
Open

Phantom spawning is not synchronized with the timescale #35

alexiscoutinho opened this issue Aug 27, 2024 · 0 comments

Comments

@alexiscoutinho
Copy link

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 day duration in Time & Wind 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 a fast timescale server, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant