Name | <WorldTag.is_night> |
Returns | ElementTag(Boolean) |
Description | Returns whether it is considered night in this world. Players are typically allowed to sleep at this time.
Note that in certain worlds, this and WorldTag.is_day can both be 'false'! (The nether, for example!) In typical worlds, this is 'true' if WorldTag.sky_darkness is 4 or higher. To check the current time without storm interference, see WorldTag.time and related tags. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L999 |