Class StatePropertiesPredicate.Builder
- java.lang.Object
-
- net.minecraft.advancements.criterion.StatePropertiesPredicate.Builder
-
- Enclosing class:
- StatePropertiesPredicate
public static class StatePropertiesPredicate.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<StatePropertiesPredicate.Matcher>
matchers
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatePropertiesPredicate
build()
StatePropertiesPredicate.Builder
hasProperty(Property<?> p_227194_1_, java.lang.String p_227194_2_)
StatePropertiesPredicate.Builder
hasProperty(Property<java.lang.Boolean> p_227195_1_, boolean p_227195_2_)
StatePropertiesPredicate.Builder
hasProperty(Property<java.lang.Integer> p_227192_1_, int p_227192_2_)
<T extends java.lang.Comparable<T> & IStringSerializable>
StatePropertiesPredicate.BuilderhasProperty(Property<T> p_227193_1_, T p_227193_2_)
static StatePropertiesPredicate.Builder
properties()
-
-
-
Field Detail
-
matchers
private final java.util.List<StatePropertiesPredicate.Matcher> matchers
-
-
Method Detail
-
properties
public static StatePropertiesPredicate.Builder properties()
-
hasProperty
public StatePropertiesPredicate.Builder hasProperty(Property<?> p_227194_1_, java.lang.String p_227194_2_)
-
hasProperty
public StatePropertiesPredicate.Builder hasProperty(Property<java.lang.Integer> p_227192_1_, int p_227192_2_)
-
hasProperty
public StatePropertiesPredicate.Builder hasProperty(Property<java.lang.Boolean> p_227195_1_, boolean p_227195_2_)
-
hasProperty
public <T extends java.lang.Comparable<T> & IStringSerializable> StatePropertiesPredicate.Builder hasProperty(Property<T> p_227193_1_, T p_227193_2_)
-
build
public StatePropertiesPredicate build()
-
-