-
Notifications
You must be signed in to change notification settings - Fork 21
Enchantability
Steven edited this page Oct 13, 2017
·
2 revisions
Enchantability causes some items to have better chances at higher level enchantments than others when using the enchanting table. Vanilla Minecraft has values set for the following:
| Material Class | Value | Max Modified Enchantment Level |
|---|---|---|
| Chainmail Armor | 12 | 41 |
| Diamond Armor | 10 | 39 |
| Diamond Tools | 10 | 39 |
| Gold Armor | 25 | 48 |
| Gold Tools | 22 | 45 |
| Iron Armor | 9 | 39 |
| Iron Tools | 14 | 41 |
| Leather Armor | 15 | 41 |
| Stone Tools | 5 | 36 |
| Wood Tools | 15 | 41 |
For more details, see the Minecraft wiki.
You can specify new enchantability values for items at a material level. For example, you can make only diamond swords have an enchantability of 100 if you really wanted to.
To customize these values, open up "enchantability.yml" and make the appropriate edits. You can copy+paste the default enchantability groups to get started, just give it a unique name and change the types and enchantability value.
For example, let's take the first default enchantability group, wood-tool:
# This is the name you give it. It has no real meaning, # just should be unique. wood-tool: # The materials to include in the group. This can be either # Spigot material names or numeric item IDs. types: - 'WOOD_AXE' - 'WOOD_HOE' - 'WOOD_PICKAXE' - 'WOOD_SPADE' - 'WOOD_SWORD' # The enchantability value itself. Mathematically, this # is divided by 4, so you need to increase/decrease it # by factors of 4 to see any difference. enchantability: 15