
Magic Repair
Активный0.0
Установок
Последнее обновление
A small mod allowing items to be repaired with :
- Mana from Botania
- EMC from Project E
- Life Points from Blood Magic
- Psions from Psi
- Mana from Ars Nouveau
Through Tags (datapacks)
You can now use item NBT tags and enchantments too.
The mod does nothing without any of these mods. But all are optional. You can only have one of them installed if you want for example.
Amount of Mana, EMC, Life Points or Psions consumed per durability is configurable.
Using enchantments
Simply apply the enchantment to your item. (the enchantments can't be applied by an enchanting table by default. This can be configured)
Enchantments names :
- Botanic (botania)
- Alchemical (projecte)
- Psionic (Psi)
- Bloody (blood magic)
- Ars (ars nouveau)
Using NBT tags
You can create an item repairable with the mod of your choice using the "mrepair" nbt tag.
Using give command : /give <item>{mrepair:<compatible mod>}
Examples :
bloodmagic : /give minecraft:diamond_pickaxe{mrepair:bloodmagic}
botania : /give minecraft:diamond_pickaxe{mrepair:botania}
projecte: /give minecraft:diamond_pickaxe{mrepair:projecte}
psi: /give minecraft:diamond_pickaxe{mrepair:psi}
Using datapacks
Tag files for datapacks :
- magicrepair/tags/items/bloodmagic.json
- magicrepair/tags/items/botania.json
- magicrepair/tags/items/projecte.json
- magicrepair/tags/items/psi.json
File content example :
{
"replace": false,
"values": [
"minecraft:iron_pickaxe",
"minecraft:iron_sword"
]
}
You just have to add the item namespace in the "values" list.