Class StatePropertiesPredicate.RangedPropertyMatcher
java.lang.Object
net.minecraft.advancements.critereon.StatePropertiesPredicate.PropertyMatcher
net.minecraft.advancements.critereon.StatePropertiesPredicate.RangedPropertyMatcher
- Enclosing class:
- StatePropertiesPredicate
static class StatePropertiesPredicate.RangedPropertyMatcher
extends StatePropertiesPredicate.PropertyMatcher
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanmatch(StateHolder<?,?> p_67735_, Property<T> p_67736_)
com.google.gson.JsonElement
toJson()
Methods inherited from class net.minecraft.advancements.critereon.StatePropertiesPredicate.PropertyMatcher
checkState, getName, match
-
Field Details
-
minValue
-
maxValue
-
-
Constructor Details
-
RangedPropertyMatcher
-
-
Method Details
-
match
protected <T extends Comparable<T>> boolean match(StateHolder<?,?> p_67735_, Property<T> p_67736_)- Specified by:
match
in classStatePropertiesPredicate.PropertyMatcher
-
toJson
public com.google.gson.JsonElement toJson()- Specified by:
toJson
in classStatePropertiesPredicate.PropertyMatcher
-