Class StatePropertiesPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.StatePropertiesPredicate.Builder
- Enclosing class:
StatePropertiesPredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<StatePropertiesPredicate.PropertyMatcher> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
hasProperty
(Property<?> pProperty, String pValue) hasProperty
(Property<Boolean> pProperty, boolean pValue) hasProperty
(Property<Integer> pProperty, int pValue) <T extends Comparable<T> & StringRepresentable>
StatePropertiesPredicate.BuilderhasProperty
(Property<T> pProperty, T pValue)
-
Field Details
-
matchers
private final com.google.common.collect.ImmutableList.Builder<StatePropertiesPredicate.PropertyMatcher> matchers
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
properties
-
hasProperty
-
hasProperty
-
hasProperty
-
hasProperty
public <T extends Comparable<T> & StringRepresentable> StatePropertiesPredicate.Builder hasProperty(Property<T> pProperty, T pValue) -
build
-