Enchantments, both pre-made and custom, can be added to the enchanting table. The chance to receive an enchantment is determined by its Enchantment Rarity, and an enchantment must be assigned a rarity for it to appear in the table.
All the options for the Enchanting Table are present in your
config.yml (settings that affect everything) and
rarities.yml (for rarity-specific settings) files. The rarity-specific settings are discussed on the Enchantment Rarities page.
Table Configuration Options
The options that affect all enchantments in the enchanting table in
config.yml are listed below (which appear under
Enabled- Set to false to completely disable enchanting table support.
Chance.Base- The base chance each enchantment has to be chosen - 0.01 = 1%
Chance.BookMultiplier- An extra multiplier applied to books - 0.5 = 50% less chance to be added to a book.
Chance.ProbabilityMultiplier- A multiplier applied when an enchant is chosen, used to determine if more than one enchant will be added. For example, if this is 0.5, then each time an enchant is chosen future enchants have a 50% less chance to be chosen.
Maximum.Level- A list of the Maximum Enchanting Level that will be considered when rolling enchantments, based on the Lapis Level. The first number corresponds to the Lapis Level, and the second is the level. (0 30 would mean that regular lapis will not take into consideration levels higher than 30, which may limit the availability of certain rarities or enchantments based on their configuration)
Maximum.Amount- The maximum number of enchantments that can be applied to an item when using the given type of Lapis. The first number corresponds to the Lapis Level, and the second is the amount.
ExtraEnchantableItems- A list of items that cannot normally be enchanted in vanilla minecraft. If you add an enchant for a specific item, add that item type to this list for it to be considered!