promotional bannermobile promotional banner
premium banner
The anvil has no expensive restrictions

Description

The anvil has no expensive restrictions and compatible to any enchantment.

Configuration

This mod uses the MineConf for configuration.

Configs

Config Description
max_level The maximum repair cost level (default: 39). Set to 0 for auto calculation.
combine_higher Enable or disable combining higher-level enchantments (default: false).
compatibility Allow two enchantments to be compatible.
{
  "maxLevel": 39,
  "combineHigher": false,
  "compatibility": {
    "minecraft:mending": [
      "minecraft:infinity"
    ],
    "minecraft:multishot": [
      "minecraft:piercing"
    ],
    "minecraft:sharpness": [
      "minecraft:smite",
      "minecraft:bane_of_arthropods"
    ],
    "minecraft:smite": [
      "minecraft:bane_of_arthropods",
      "minecraft:sharpness"
    ],
    "minecraft:bane_of_arthropods": [
      "minecraft:sharpness",
      "minecraft:smite"
    ],
    "minecraft:density": [
      "minecraft:breach",
      "minecraft:sharpness",
      "minecraft:smite",
      "minecraft:bane_of_arthropods"
    ],
    "minecraft:breach": [
      "minecraft:density",
      "minecraft:sharpness",
      "minecraft:smite",
      "minecraft:bane_of_arthropods"
    ],
    "minecraft:protection": [
      "minecraft:projectile_protection",
      "minecraft:blast_protection",
      "minecraft:fire_protection"
    ],
    "minecraft:projectile_protection": [
      "minecraft:blast_protection",
      "minecraft:fire_protection",
      "minecraft:protection"
    ],
    "minecraft:blast_protection": [
      "minecraft:fire_protection",
      "minecraft:protection",
      "minecraft:projectile_protection"
    ],
    "minecraft:fire_protection": [
      "minecraft:protection",
      "minecraft:projectile_protection",
      "minecraft:blast_protection"
    ]
  }
}

Legacy version

  • The Compatibility config is number(enchantment id), not string(enchantment name), because the enchantment uses number to register in 1.7.x and below.