Tool
constructor(tier: Provider<ToolTier>, categories: Provider<Set<ToolCategory>>, breakSpeed: Provider<Double>, attackDamage: Provider<Double?>, attackSpeed: Provider<Double?>, knockbackBonus: Provider<Int>, canSweepAttack: Provider<Boolean>, canBreakBlocksInCreative: Provider<Boolean>, disableBlocking: Provider<Int>)
Parameters
tier
The ToolTier of the tool.
categories
The ToolCategory ToolCategories of the tool.
breakSpeed
The break speed of the tool.
attackDamage
The attack damage of the tool.
attackSpeed
The attack speed of the tool.
knockbackBonus
The knockback bonus of the tool when attacking.
canSweepAttack
Whether the tool can perform a sweep attack.
canBreakBlocksInCreative
Whether the tool can break blocks in creative mode.
disableBlocking
The amount of ticks to disable an attacked shield's blocking status for when attacking with this tool.