Skip to content

Merge Adapter | Enchantments

WolfyScript edited this page Mar 20, 2023 · 4 revisions

Key: customcrafting:enchant

Adds the enchantments of all selected items to the result.
If there are multiple enchants of the same type, it will just add the one with the highest level.

Properties:
ignoreEnchantLimit – If it should ignore the vanilla enchant level limitations.
blackListedEnchants – List of enchants, that will be ignored.
ignoreConflicts – Ignores conflicting when applying enchants to the result.
ignoreItemLimit – Ignores the check if the enchantment can be applied to the item type.
increaseLevels – In case slots targets two or more slots, then it will increase the level of enchants, of which there are two occurrences of the same level.
addEnchants – Adds the specified enchants to the result, if they don't already exist.
upgradeEnchants – Upgrades the specified enchants of the result if they exist, by the specified level.
upgradeLevelLimit - Level limits that only apply to the enchant upgrades options.
levelLimit - Level limits that apply to all merged enchantments.

{
    "key": "customcrafting:enchant",
    "ignoreEnchantLimit": true,
    "blackListedEnchants": [],
    "ignoreConflicts": true,
    "ignoreItemLimit": true,
    "increaseLevels": false,
    //Adds Unbreaking 3 and Sharpness 1 to the item if it doesn't exist
    "addEnchants": {
      "minecraft:unbreaking": 3,
      "minecraft:sharpness": 1
    },
    //Upgrades Looting by 1 level and Unbreaking by 2 levels
    "upgradeEnchants": {
      "minecraft:looting": 1,
      "minecraft:unbreaking": 2
    }
}

| Home

  • Editions
  • Installation

| General

  • Performance
  • Terminology

| Recipes

Types

  • From 1.6.5.x
  • From 1.6.4.0
  • From 1.6.3.0 or older

| Special Workstations

  • Custom Recipe Book
  • Vanilla Recipe Book

Clone this wiki locally