A Minecraft Server plugin that allows players to extract an enchantment from a certain item. The extracted enchantment is given as a separate enchanted book that can be used as usual.
Put the item, which you want to extract an enchantment from, in your main hand slot and run the command with proper arguments.
/exench <Enchantment> [<Level=1>]/exench minecraft:mending # ✅
/exench minecraft:mending 1 # ✅
/exench minecraft:mending 2 # ❌
/exench minecraft:unbreaking # ✅
/exench minecraft:unbreaking 3 # ✅
/exench minecraft:unbreaking 123 # ❌To modify prices for extractions, edit the config.yml file.
prices:
# Explicit configuration for each specific enchantments
enchantments:
# category: All purpose
"minecraft:mending":
1: # mending 1
items: # what items will be required for extracting mending 1
- { material: "minecraft:diamond_block", amount: 4 }
- { material: "minecraft:emerald_block", amount: 2 }
- { material: "minecraft:nether_star", amount: 1 }
# ...Feel free to open pull requests and/or issues.
