ToolRule
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.component.ToolRule;
Members
Getter
// Rule.correctToolForDrops as boolmyRule.correctToolForDrops
Return Type:
bool
Getter
// Rule.hasCorrectToolForDrops as boolmyRule.hasCorrectToolForDrops
Return Type:
bool
static minesAndDrops(tag as KnownTag<Block>, speed as float) as Rule
static minesAndDrops(blocks as List<Block>, speed as float) as Rule
static overrideSpeed(blocks as List<Block>, speed as float) as Rule
static overrideSpeed(tag as KnownTag<Block>, speed as float) as Rule
Getter
// Rule.speed as FloatmyRule.speed
Return Type:
Float