Interface MachineTool
public interface MachineTool
Implemented by a CraftEngine item behavior that acts on machines (a configurator, a wrench, an item
filled from a machine). A machine block offers a right-click with such an item to the item's
useOnBlock first, and opens its menu only when that passes (D32).
Found on an item with ItemBehavior#let(MachineTool.class, ...), so it works whichever
position the behavior has in the item's behaviors: list.
-
Method Summary
-
Method Details
-
actsOnMachines
default boolean actsOnMachines()- Returns:
- whether this behavior wants clicks on machines; a behavior can turn it off by option
-