Class StatePropertiesPredicate.RangedMacher
- java.lang.Object
-
- net.minecraft.advancements.criterion.StatePropertiesPredicate.Matcher
-
- net.minecraft.advancements.criterion.StatePropertiesPredicate.RangedMacher
-
- Enclosing class:
- StatePropertiesPredicate
static class StatePropertiesPredicate.RangedMacher extends StatePropertiesPredicate.Matcher
-
-
Constructor Summary
Constructors Constructor Description RangedMacher(java.lang.String p_i225794_1_, java.lang.String p_i225794_2_, java.lang.String p_i225794_3_)
-
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
-
-