Dischantment Generator

The Dischantment Generator is a machine added by Extra Utilities 2. It burns Enchanted Books to generate Redstone Flux (RF) at a rate of 40 per tick. The time an Enchanted Book will burn (and thus how much total RF it produces) depends on the enchantments on it.

As with all of the mod's generators, Speed Upgrades can be added to it to burn items at a faster rate.

The amount of RF an Enchanted Book produces is the sum of all enchantments it has at their current levels. The amount of RF a single enchantment produces at a specific level is given by the following formula:

$$RF = \left \lceil \sqrt{\frac{min(level + 1, maxLevel)}{maxLevel}} \times maxLevel^{2} \times (level + 1) \times \frac{minEnchantLevel}{\sqrt{weight}} \right \rceil \times 400$$

Where:
 * RF is the total amount of RF the enchantment will produce
 * level is the level of the enchantment
 * maxLevel is the maximum level the enchantment can reach
 * minEnchantLevel is the minimum modified level that can produce the enchantment. Values for vanilla enchantments can be seen here, modded enchantments do not necessarily follow similar formulas
 * weight is the weight of the enchantment, as given by its rarity. Weights for vanilla enchantments can be seen here, most modded enchantments will have similar weights

How much RF an enchantment generates can always be seen with Just Enough Items. Below is a list of enchantments from vanilla Minecraft and Extra Utilities 2 showing how much RF they produce and how long do they last in the generator: