Name | <WorldTag.enough_deep_sleeping[(<#>)]> |
Returns | ElementTag(Boolean) |
Description | Returns whether enough players have been in bed long enough for the night to advance (generally 100 ticks).
Loops through all online players, so is typically used after checking WorldTag.enough_sleeping By default, automatically checks the playersSleepingPercentage gamerule, but this can optionally be overridden by specifying a percentage integer. Any integer above 100 will always yield 'false'. Requires at least one player to be sleeping to return 'true'. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L953 |