Interface AnyOfPredicate
- All Superinterfaces:
BlockPredicate, CombiningPredicate, Wrapper
Combined multiple block predicates. Matches if at least one of the specified blocks predicates matches.
- 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 AnyOfPredicate.Builderbuilder()Creates a new builder.static AnyOfPredicateof(List<BlockPredicate> predicates) Creates a new AnyOfPredicate with the specified predicates.default AnyOfPredicate.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 AnyOfPredicate with the specified predicates.- Parameters:
predicates- the predicates to combine- Returns:
- the AnyOfPredicate
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-