Mana Enchanter

The Mana Enchanter is a structure added by Botania. It uses Mana provided with Sparks or Mana Spreaders to enchant equipment with enchantments defined by Enchanted Books dropped nearby, without consuming the books.

Construction
The structure is 7×11×3 and requires:
 * 1
 * 17
 * 10 or any other Botania flowers, including, , generating and functional flowers.
 * 6 s, s, or s.

The Lexica Botania can be used for anchoring a preview of this structure in the world as a guideline for building.

Right clicking the Lapis Lazuli Block in the center of the structure with the Wand of the Forest will form the enchanter.

Breaking any block of the construct will revert the central block back into a Lapis Lazuli block.

Usage
Right clicking the Enchanter block with an item will place it on the Enchanter. This is the item that will be enchanted. Items which have already been enchanted or cannot be enchanted (such as Books) cannot be placed on the Enchanter.

To set the enchantments to apply, drop Enchanted Books onto the Obsidian platform. If a book contains more than one enchantment, only the first one listed will be included. If any enchantments from multiple books are incompatible with one another, only the first book dropped will be applied.

Once all books have been placed, right clicking the Enchanter with a Wand of the Forest will begin the enchanting process. Upon doing so, a spell circle will appear on the Obsidian ring, the Enchanted Books may be collected, and the Enchanter will begin accepting Mana.

When the enchanting completes, the spell circle will vanish, and right-clicking the newly enchanted item will remove it from the Enchanter.

Mana costs
The Mana cost of enchanting an item is equal to the sum of the cost of applying each individual enchantment.

An individual enchantment's cost is calculated as follows (always rounded down to the nearest integer):

$$\left \lfloor (1312.5 \times (15 - min(15, Weight)) \times (3 + Level^2) \times (0.9 + 0.05 \times Amount) \times Treasure) \right \rfloor$$

where:
 * Weight is the enchantment weight;
 * Level is the enchantment level;
 * Treasure is 1.25 for Treasure enchantments, 1 otherwise;
 * Amount is the number of enchantments to apply.

This means that applying multiple enchantments to a single item does make each individual enchantment slightly more expensive.