public final class ToolProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Type<ToolProperties> |
TYPE |
Constructor and Description |
---|
ToolProperties(ToolRule[] rules,
float defaultMiningSpeed,
int damagePerBlock) |
Modifier and Type | Method and Description |
---|---|
int |
damagePerBlock() |
float |
defaultMiningSpeed() |
ToolRule[] |
rules() |
public static final Type<ToolProperties> TYPE
public ToolProperties(ToolRule[] rules, float defaultMiningSpeed, int damagePerBlock)
public ToolRule[] rules()
public float defaultMiningSpeed()
public int damagePerBlock()