Interface ItemAdventurePredicate
Controls which blocks a player in Adventure mode can do a certain action with this item.
- Since:
- 1.21.3
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemAdventurePredicateitemAdventurePredicate(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) - Since:
- 1.21.3
-
itemAdventurePredicate
- Since:
- 1.21.3
-
predicates
List of block predicates that control if the action is allowed.- Returns:
- predicates
- Since:
- 1.21.3
-