# Distribution

ExcellentEnchants supports the following ways of enchantment distribution:

Method Description Global Setting Enchant Setting
Enchanting Table Controls whether enchants can be found in an enchanting table or use to enchant items generated by loot tables. Enchanting_Table Discoverable
Trading Controls whether enchants can be sold by villagers as enchanted books. Trading Tradeable
Random Loot Controls whether enchants can be found on naturally generated equipment from loot tables. Random_Loot On_Random_Loot
Trade Equipment Controls whether enchants can be found on equipment sold by villagers.
Works only if Villager Trade Rebalance is disabled.
Trade_Equipment On_Traded_Equipment
Mob Equipment Controls whether enchants can be found on spawned mobs' equipment. Mob_Equipment On_Mob_Spawn_Equipment

Toggle the respective Global Setting in the distribution.yml config file to disable the method globally.

Toggle the respective Enchant Setting in the /enchants/ config files to disable the method for specific enchants.

# Treasure Enchants

Treasure enchantments are those that can't be obtained using an enchanting table , and won't be generated on randomly enchanted equipment sold by villagers or worn by mobs .

Treasure enchantments can only be received via looting , trading , or fishing .

Enchantment's treasure state can be toggled in the /enchants/ config files under the Treasure setting.