# Distribution

ExcellentEnchants supports the following enchantment distribution methods:

Method Description Global Setting Enchant Setting
Enchanting Table Controls whether enchantments can be obtained from the enchanting table or applied to items generated by loot tables. Enchanting_Table Discoverable
Trading Controls whether enchantments can be sold by villagers as enchanted books. Trading Tradeable
Random Loot Controls whether enchantments can appear on naturally generated equipment from loot tables. Random_Loot On_Random_Loot
Trade Equipment Controls whether enchantments can appear on equipment sold by villagers.
Only works if Villager Trade Rebalance is disabled.
Trade_Equipment On_Traded_Equipment
Mob Equipment Controls whether enchantments can appear on equipment worn by spawned mobs. Mob_Equipment On_Mob_Spawn_Equipment

Toggle the corresponding Global Setting in the distribution.yml configuration file to disable a method globally.

Toggle the corresponding Enchant Setting in the /enchants/ configuration files to disable a method for specific enchantments.

Some enchantments are marked as treasure enchantments by default, making them unobtainable from certain methods. You can change an enchantment's treasure status in its configuration file.