toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.item.behavior
/
Tool
/
Tool
Tool
constructor
(
tier
:
ToolTier
,
categories
:
Set
<
ToolCategory
>
,
breakSpeed
:
Double
,
attackDamage
:
Double
?
,
attackSpeed
:
Double
?
,
knockbackBonus
:
Int
,
canSweepAttack
:
Boolean
=
false
,
canBreakBlocksInCreative
:
Boolean
=
categories != setOf(VanillaToolCategories.SWORD)
)
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
>
)