This is a patch release for 1.3 that drops support for older versions of the game. Both releases behave the same.
To recap the changes in 1.3:
- Players in other dimensions are no longer counted toward the total number of players
- Changing player conditions will now update the
playersSleepingPercentage
while players are trying to sleep- This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
- The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the
playersSleepingPercentage
gamerule- I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.
This version is a massive internal refactor.
Fixes
- Players in other dimensions are no longer counted toward the total number of players
- Changing player conditions will now update the
playersSleepingPercentage
while players are trying to sleep- This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
- The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the
playersSleepingPercentage
gamerule- I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.
Updated to include support for 1.21.0
Backported the datapack to 1.17, which is the first version of Minecraft that has the playersSleepingPercentage
gamerule. This version of the pack is tecnically compatible later versions as well, but it's not as fast because function macros simplify the logic a lot.
- Added pack.png
Thankfully not many people have downloaded this so I don't feel bad doing a release for something so small :p
First public release! 1.1 includes some improvements found in testing.