illusivesoulworks / comforts

Minecraft Mod: Adds sleeping bags and hammocks for, respectively, portability and turning day to night, without setting new spawns. Comes in 16 different colors!
https://www.curseforge.com/minecraft/mc-mods/comforts
Other
46 stars 31 forks source link

[Feature]: In multiplayer, separate playersSleepingPercentage gamerules for night and day #142

Closed dhouck closed 4 months ago

dhouck commented 7 months ago

What is the new feature or improvement?

I want it to be easier for players to skip the night than for them to skip the day; having it be Suddenly Daytime when you expect it to be night can be annoying, but the reverse can be dangerous. I think ideally Iʼd have regular playerSleepingPercentage be zero (one-person sleep) and daytime playerSleepingPercentage be 51 (one player alone cannot make it night unless theyʼre the only one on the server), because one player alone is liable to not know about this mod and try to see what the cool new block is.

EDIT: I suppose now that I write it like that I could write a data pack that just actually changes the game rule based on time of day, but Iʼm not sure thatʼs the best option or if there are edge cases Iʼm missing where that wouldnʼt work.

dhouck commented 4 months ago

Cool, thanks!