Tool
Checks whether the item is a tool or if it's an instance of a certain tool type.
Type ID: eggolib:tool
Fields
| Field | Type | Default | Description |
|---|---|---|---|
tool_type |
String | optional | If specified, the condition will evaluate to true if the item is an instance of this tool type. Accepts one of "axe", "hoe", "pickaxe", "shovel", "sword" and "shears". |
tool_types |
Array of Strings | optional | If specified, the condition will evaluate to true if the item is an instance of one of these tool types. Accepts "axe", "hoe", "pickaxe", "shovel", "sword" and "shears". |