Class StatePropertiesPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.StatePropertiesPredicate.Builder
- Enclosing class:
- StatePropertiesPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<StatePropertiesPredicate.PropertyMatcher>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
hasProperty
(Property<?> p_67701_, String p_67702_) hasProperty
(Property<Boolean> p_67704_, boolean p_67705_) hasProperty
(Property<Integer> p_67695_, int p_67696_) <T extends Comparable<T> & StringRepresentable>
StatePropertiesPredicate.BuilderhasProperty
(Property<T> p_67698_, T p_67699_)
-
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> p_67698_, T p_67699_) -
build
-