Interface NotPredicate
- All Superinterfaces:
BlockPredicate, Wrapper
Inverts a given block predicate.
Matches if the specified other block predicate does not match.
- Since:
- 3.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic NotPredicateof(BlockPredicate predicate) Creates a newNotPredicatewith the given predicate.The predicate to invert.Methods inherited from interface BlockPredicate
notMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
predicate
The predicate to invert.- Returns:
- the predicate
- Since:
- 3.0.0
-
of
Creates a newNotPredicatewith the given predicate.- Parameters:
predicate- the predicate to invert- Returns:
- the NotPredicate
- Since:
- 3.0.0
-