Name | <WorldTag.enough_sleeping[(<#>)]> |
Returns | ElementTag(Boolean) |
Description | Returns whether enough players are sleeping to prepare for the night to advance.
Typically used before checking WorldTag.enough_deep_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#L932 |