Interface AllOfPredicate
- All Superinterfaces:
BlockPredicate, CombiningPredicate, Wrapper
Combined multiple block predicates. Matches if all specified block predicates match.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface CombiningPredicate
CombiningPredicate.CombiningPredicateBuilder<T,B> -
Method Summary
Modifier and TypeMethodDescriptionstatic AllOfPredicate.Builderbuilder()Creates a new builder.static AllOfPredicateof(List<BlockPredicate> predicates) Creates a new AllOfPredicate with the specified predicates.default AllOfPredicate.BuilderConverts this object to a builder.Methods inherited from interface BlockPredicate
notMethods inherited from interface CombiningPredicate
predicatesMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
toBuilder
Converts this object to a builder.- Returns:
- the builder
- Since:
- 3.0.0
-
of
Creates a new AllOfPredicate with the specified predicates.- Parameters:
predicates- the predicates to combine- Returns:
- the AllOfPredicate
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-