Magic Repair - Magical Item Repair
This small mod opens up new possibilities for restoring the durability of your tools and weapons using various magical systems from popular modifications.
Supported Magic Systems
You can repair items using:
- Mana from Botania
- EMC from Project E
- Life Points from Blood Magic
- Psions from Psi
- Mana from Ars Nouveau
The mod is completely useless without installing at least one of the listed addons. However, all of them are optional - you only need to have the specific mod you want to use.
Repair Cost Configuration
The amount of mana, EMC, life points, or psions consumed per durability point is fully customizable according to your preferences.
Three Usage Methods
Through Enchantments
Simply apply the corresponding enchantment to the item. By default, these enchantments cannot be obtained through the enchanting table, but this can be changed in the settings.
Available enchantments:
- Botanic (for Botania)
- Alchemical (for Project E)
- Psionic (for Psi)
- Bloody (for Blood Magic)
- Ars (for Ars Nouveau)
Through NBT Tags
Create items that can be repaired using your chosen magical system by using the "mrepair" tag.
Command examples:
/give minecraft:diamond_pickaxe{mrepair:bloodmagic}
/give minecraft:diamond_pickaxe{mrepair:botania}
/give minecraft:diamond_pickaxe{mrepair:projecte}
/give minecraft:diamond_pickaxe{mrepair:psi}
Through Datapacks
Create tag files in datapacks:
- magicrepair/tags/items/bloodmagic.json
- magicrepair/tags/items/botania.json
- magicrepair/tags/items/projecte.json
- magicrepair/tags/items/psi.json
Example file content:
{
"replace": false,
"values": [
"minecraft:iron_pickaxe",
"minecraft:iron_sword"
]
}
Simply add the desired items to the "values" list.