Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2487 tags...
Name<TimeTag.next_hour_of_day[<hour>]>
ReturnsTimeTag
DescriptionReturns the timetag that represents the next time the specified hour number will be hit.
For example, if the input hour is '14', and the original TimeTag is 5 AM, the return will be 2 PM today.
If the input is '14' and the TimeTag is 5 PM, the return will be 2 PM tomorrow.
The minute/second/millisecond will be zeroed.
If the input hour is 5, and the TimeTag is at 5 AM, will return the next day.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/TimeTag.java#L467