ToolAPI.ToolMaterial
Hierarchy
- ToolMaterial
Index
Properties
Properties
optionaldamage
Additional damage for the instruments, this value is added to the base tool damage. If damage is not integer, it is rounded to the higher integer with the chance of the fractional part, e.g. if the value is 3.3, the damage will be 4 with the chance of 30%.
optionaldurability
Durability of the tool, 33 is a default value for golden tools and 1562 is a default value for diamond tools.
optionalefficiency
Divider used to calculate block breaking speed. 2 is a default value for wooden instruments and 12 is a default value for golden instruments.
optionallevel
Block breaking level, 1 is wooden instruments, 4 is diamond instruments. If block's breaking level is less or equal to the tool's level, block will be dropped when broken.
Object used to describe tool material type.