Name | <WorldTag.is_day> |
Returns | ElementTag(Boolean) |
Description | Returns whether it is considered day in this world. Players are not allowed to sleep at this time.
Note that in certain worlds, this and WorldTag.is_night can both be 'false'! (The nether, for example!) In typical worlds, this is 'true' if WorldTag.sky_darkness is less than 4. 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#L984 |