Tool
Creates a factory for Tool behaviors using the given values, if not specified otherwise in the config.
Parameters
The ToolTier of the tool. Used when tool_tier
is not specified in the config, or null to require the presence of a config entry.
The ToolCategory of the tool. Used when tool_category
is not specified in the config, or null to require the presence of a config entry.
The break speed of the tool. Used when break_speed
is not specified in the config, or null to require the presence of a config entry.
The attack damage of the tool. Used when attack_damage
is not specified in the config, or null to require the presence of a config entry.
The attack speed of the tool. Used when attack_speed
is not specified in the config, or null to require the presence of a config entry.
The knockback bonus of the tool when attacking. Defaults to 0
. Used when knockback_bonus
is not specified in the config.
Whether the tool can perform a sweep attack. Defaults to false
. Used when can_sweep_attack
is not specified in the config.
Whether the tool can break blocks in creative mode. Defaults to true
. Used when can_break_blocks_in_creative
is not specified in the config.
The amount of ticks to disable an attacked shield's blocking status for when attacking with this tool. Defaults to 0
. Used when disable_blocking
is not specified in the config.