Modifier repair recipes are used to define additional methods to repair a tool with a modifier.

Item Repair

Item repair recipes allow repairing a tool using the given ingredient provided it has the listed modifier. This recipe has two variants, tconstruct:modifier_repair which defines repairing the tool in the tinker station or tinker’s anvil and tconstruct:crafting_modifier_repair which defines repairing the tool in the crafting table. Both variants have the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:modifier_repair or tconstruct:crafting_modifier_repair.
    • modifier (Modifier ID): Modifier required on the tool to use this recipe.
    • ingredient (Item Ingredient): Ingredient used to repair the tool.
    • repair_amount (Integer): Amount of durability restored by this recipe.

Material Repair

Material repair recipes allow repairing a tool using items matching the given tool material provided it has the listed modifier. This recipe has two variants, tconstruct:modifier_material_repair which defines repairing the tool in the tinker station or tinker’s anvil using items associated with the material, and tconstruct:crafting_modifier_material_repair which defines repairing the tool in the crafting table using repair kits. Both variants have the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:modifier_material_repair or tconstruct:crafting_modifier_material_repair.
    • modifier (Modifier ID): Modifier required on the tool to use this recipe.
    • repair_material (Material ID): Material used for repairing the tool.
    • stat_type (Stat Type): Stat type to use when repairing the tool. Used to fetch the relevant durability value from the material stats.