Icarus

The Icarus enchantment is an enchantment added by Enchantment Solution for Elytra.

Description
While flying, looking up into the sky will increase the speed of the player. The amount of change is gotten by taking the log of the value of 2 * level + 8, dividing that by 5, and then adding 1.5 to it. Each activation of Icarus will cost 5 * level durability points on the elytra.

Successfully activating Icarus will give a firework sound and particle effects. When Icarus is recharging, nothing will happen. Failing to activate Icarus (when the Elytra is too damaged to activate) will produce explosion cloud effects.

Advancements

 * Too Close

Events

 * IcarusLaunchEvent
 * IcarusRefreshEvent

Incompatibilities
Icarus and Frequent Flyer are mutually exclusive. When the enchantments are on the same item, both will work as normal.