Interface ItemAdventurePredicate
Controls which blocks a player in Adventure mode can do a certain action with this item.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemAdventurePredicate
itemAdventurePredicate
(List<BlockPredicate> predicates) List of block predicates that control if the action is allowed.
-
Method Details
-
itemAdventurePredicate
@Contract(value="_ -> new", pure=true) static ItemAdventurePredicate itemAdventurePredicate(List<BlockPredicate> predicates) -
itemAdventurePredicate
-
predicates
List of block predicates that control if the action is allowed.- Returns:
- predicates
-