Class RecipeConditions.Block.TimeRange
java.lang.Object
me.mehboss.utils.RecipeConditions.Block.TimeRange
- Enclosing class:
RecipeConditions.Block
Represents a range of valid in-game times for recipe conditions.
A range may be normal (e.g., 0–12000) or wrap around the
midnight boundary (e.g., 23000–2000). The contains(int)
method automatically supports both.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
min
public final int min -
max
public final int max
-
-
Constructor Details
-
TimeRange
public TimeRange(int min, int max)
-
-
Method Details
-
contains
public boolean contains(int t) -
asString
-