Damageable
Creates a factory for Damageable behaviors using the given values, if not specified otherwise in the item's config.
Parameters
The maximum durability of the item. Used when max_durability is not specified in the item's config, or null to require the presence of a config entry.
The amount of damage the item receives when attacking an entity. Used when item_damage_on_attack_entity is not specified in the item's config.
The amount of damage the item receives when breaking a block. Used when item_damage_on_break_block is not specified in the item's config.
The ingredient required to repair the item. Can be null for items that cannot be repaired. Used when repair_ingredient is not specified in the item's config.
The break sound that is played when the item breaks. Defaults to minecraft:entity.item.break. Used when break_sound is not specified in the item's config.