Class StatePropertiesPredicate.Matcher
java.lang.Object
net.minecraft.advancements.criterion.StatePropertiesPredicate.Matcher
- Direct Known Subclasses:
StatePropertiesPredicate.ExactMatcher
,StatePropertiesPredicate.RangedMacher
- Enclosing class:
- StatePropertiesPredicate
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkState
(StateContainer<?, ?> p_227200_1_, Consumer<String> p_227200_2_) getName()
<S extends StateHolder<?,
S>>
booleanmatch
(StateContainer<?, S> p_227199_1_, S p_227199_2_) protected abstract <T extends Comparable<T>>
booleanmatch
(StateHolder<?, ?> p_225554_1_, Property<T> p_225554_2_) abstract com.google.gson.JsonElement
toJson()
-
Field Details
-
name
-
-
Constructor Details
-
Matcher
-
-
Method Details
-
match
-
match
protected abstract <T extends Comparable<T>> boolean match(StateHolder<?, ?> p_225554_1_, Property<T> p_225554_2_) -
toJson
public abstract com.google.gson.JsonElement toJson() -
getName
-
checkState
-