Auto Enchant Crafting is an ability associated with the Extraction skill.
Overview[]
Extraction[]
The Auto Enchant Crafting ability is unlocked at level 55 Extraction.
If the item the player is trying to craft can be enchanted with Fortune III and Unbreaking III at a Crafting Table or Infusion Table, then the item will be given the two enchantments upon being crafted. The item has to be enchantable with both Fortune III and Unbreaking III in order to get the enchantments, if at least one of the two enchantments cannot be applied normally, then neither will be applied.
Customization[]
When customizing skills using a datapack, the Auto Enchant Crafting ability can be customized to add any combination of enchantments and levels of enchantments to an item upon crafting it. This section documents the specific code one would use to add a custom Auto Enchant Crafting ability for a skill, see the Skills/Datapack page for information on how to actually add the code to a skill.
| Parameter | Description |
|---|---|
| enchantments | A list of enchantments, and the levels of those enchantments, that will be applied to the item upon crafting it. See code example below to see how to format the code. |
Example[]
The code to add enchantments is as follows:
{
"id": "aoa3:auto_enchant_crafting",
"unique_id": "1784233177",
"enchantments": {
"<enchantment 1 id>": <enchantment 1 level>,
"<enchantment 2 id>": <enchantment 2 level>,
..........
"<enchantment n id>": <enchantment n level>
},
"level_req": 55
},
To add Silk Touch, Protection II, Brace, and Power IV to an item, use the following:
{
"id": "aoa3:auto_enchant_crafting",
"unique_id": "1784233177",
"enchantments": {
"minecraft:silk_touch": 1,
"minecraft:protection": 2,
"aoa3:brace": 1,
"minecraft:power": 4
},
"level_req": 55
},