Interface BlockPredicateFilter
- All Superinterfaces:
PlacementFilter, PlacementModifier, Wrapper
Returns the current position when the predicate is passed, otherwise return empty.
- Since:
- 3.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPredicateFilterof(BlockPredicate predicate) Creates a new block predicate filter.The block predicate to test.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
predicate
The block predicate to test.- Returns:
- the block predicate
- Since:
- 3.0.0
-
of
Creates a new block predicate filter.- Parameters:
predicate- the block predicate- Returns:
- a new block predicate filter
- Since:
- 3.0.0
-