Artifactory
Attunement System for Minecraft
The Artifactory mod introduces a unique item attunement mechanic into Minecraft, similar to systems found in tabletop games like D&D. This system allows you to create a magical bond with weapons, armor, or other valuable items, granting them special properties.
Why Bond with Items?
The attunement process requires experience costs and occupies special attunement slots, but provides amazing benefits:
- Unbreakable - item no longer loses durability
- Invulnerable - lava and cacti can no longer destroy your equipment
- Soulbound - item follows you even through death
- Attribute Enhancement - you can add extra damage, protection, and other attributes
Getting Started:
- Configure desired items through datapacks
- Build an Attunement Nexus using Nether Star and Dragon's Breath
- Place item inside and complete the bonding ritual
Items can be configured with various restrictions - from demanding artifacts unusable without attunement to regular weapons that gain bonuses from the owner's bond.
Datapack Configuration
Each item is configured through JSON files. Let's examine diamond sword configuration:
{
"slots_used": 3,
"attunements": {
"1": {
"modifications": ["unbreakable", "invulnerable", "attribute/minecraft:generic.attack_damage/addition/2.0/mainhand"]
},
"2": {
"modifications": ["soulbound", "attribute/minecraft:generic.attack_damage/addition/4.0/mainhand"],
"requirements": {
"xpLevelsConsumed": 40,
"xpLevelThreshold": 45
}
}
},
"use_without_attunement": false,
"replace": "true"
}
After reaching second attunement level, the sword becomes unbreakable, invulnerable, soulbound, and gains +6 attack damage.
Potential Use Cases:
- Create unique progression for personal weapons
- Balance overpowered artifacts through attunement slot costs
- Enhance value of older items through upgrading
- Establish balanced in-game economy