Class StatePropertiesPredicate.PropertyMatcher
java.lang.Object
net.minecraft.advancements.critereon.StatePropertiesPredicate.PropertyMatcher
- Direct Known Subclasses:
StatePropertiesPredicate.ExactPropertyMatcher
,StatePropertiesPredicate.RangedPropertyMatcher
- Enclosing class:
- StatePropertiesPredicate
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkState
(StateDefinition<?, ?> p_67722_, Consumer<String> p_67723_) getName()
<S extends StateHolder<?,
S>>
booleanmatch
(StateDefinition<?, S> p_67719_, S p_67720_) protected abstract <T extends Comparable<T>>
booleanmatch
(StateHolder<?, ?> p_67724_, Property<T> p_67725_) abstract com.google.gson.JsonElement
toJson()
-
Field Details
-
name
-
-
Constructor Details
-
PropertyMatcher
-
-
Method Details
-
match
-
match
protected abstract <T extends Comparable<T>> boolean match(StateHolder<?, ?> p_67724_, Property<T> p_67725_) -
toJson
public abstract com.google.gson.JsonElement toJson() -
getName
-
checkState
-