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