Mod Vanilla Anvil Repair by eksekk

  • Vanilla Anvil Repair by eksekk

    Vanilla anvil repair support for custom items
    • 12.47 KB
    • 1.12.2
    • April 15, 2020
    • April 28, 2020
    • CraftTweaker
      Miscellaneous
    Vanilla Anvil Repair
Mod Information
NameVanilla Anvil RepairAuthoreksekkDescriptionVanilla anvil repair support for custom items
InformationDownloads:
Version: 1.12.2
Size: 12.47 KB
Updated at: April 28, 2020
Created at: April 15, 2020
Tags
CraftTweaker
Miscellaneous

This mod basically allows you to use CraftTweaker or config to set anvil repairing of any item with any material. Each material unit will repair 25% of durability, like in vanilla.

 

If you define a repair recipe for item which already has one, both will be valid (original and added one).

 

Example

 

import mods.vanillaanvilrepair.addRepairEntry;

var ingots = <minecraft:gold_ingot> | <minecraft:iron_ingot>;

//addRepairEntry(IIngredient repairedItems, IIngredient materials)

addRepairEntry(<minecraft:bow>, ingots);

 

This ZenScript code will allow minecraft bow to be repaired by either iron or gold ingot.

 

Config


# List of repairs, in format
# repaireditem1,repaireditem2[...];material1,material2[...]
# (you can use ore:item for OreDictionary entry (only for materials))
S:repairList <
>

# If true, repairs added by this mod increase further work level cost (same as vanilla)

B:repairsIncreaseCost = false