Class StatePropertiesPredicate.ExactMatcher
- java.lang.Object
-
- net.minecraft.advancements.criterion.StatePropertiesPredicate.Matcher
-
- net.minecraft.advancements.criterion.StatePropertiesPredicate.ExactMatcher
-
- Enclosing class:
- StatePropertiesPredicate
static class StatePropertiesPredicate.ExactMatcher extends StatePropertiesPredicate.Matcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ExactMatcher(java.lang.String p_i225792_1_, java.lang.String p_i225792_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends java.lang.Comparable<T>>
booleanmatch(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
com.google.gson.JsonElement
toJson()
-
Methods inherited from class net.minecraft.advancements.criterion.StatePropertiesPredicate.Matcher
checkState, getName, match
-
-
-
-
Method Detail
-
match
protected <T extends java.lang.Comparable<T>> boolean match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
- Specified by:
match
in classStatePropertiesPredicate.Matcher
-
toJson
public com.google.gson.JsonElement toJson()
- Specified by:
toJson
in classStatePropertiesPredicate.Matcher
-
-