ArmoredElytra - bruno-medeiros1/elytra-essentials GitHub Wiki

Introduction

The Armored Elytra is a powerful custom item that combines the unparalleled mobility of an Elytra with the defensive capabilities of a Chestplate. This allows you to soar through the skies without sacrificing protection.

How Protection Works

When you take damage while wearing an Armored Elytra, the plugin calculates the total damage reduction based on the enchantments applied to it. Each protection enchantment provides a specific percentage of damage reduction, and these percentages are added together. You can view the amount of heart damage absorbed by your equipped Armored Elytra by using the /ee armor command.

However, just like in vanilla Minecraft, there is a limit to how much damage can be reduced. The total combined damage reduction from all enchantments on the Armored Elytra is capped at 80%. You can never be immune to damage, but you can become highly resistant.

Enchantment Effects

Here is a breakdown of how each protection enchantment contributes to your defense.

Protection Effect:

  • Reduces all incoming damage by 4% per level.
  • Max Reduction (at Level IV): 16%

Fire Protection Effect:

  • Reduces damage from fire sources by 15% per level.
  • Fire Sources Include:
    • Direct contact with fire blocks
    • Lava
    • Fireballs (from Ghasts or Blazes)
  • Max Reduction (at Level IV): 60%

Blast Protection Effect:

  • Reduces damage from explosions by 15% per level.
  • Explosive Sources Include:
    • Creeper explosions
    • TNT
    • Wither skulls
  • Max Reduction (at Level IV): 60%

Projectile Protection Effect:

  • Reduces damage from projectiles by 15% per level.
  • Projectile Sources Include:
    • Arrows (from Skeletons, Strays, or Pillagers)
    • Tridents
  • Max Reduction (at Level IV): 60%

Example Calculation

  1. Imagine your Armored Elytra has Protection IV and Blast Protection IV.
  2. You are hit by a Creeper explosion that would normally deal 20 damage (10 hearts).
  3. Protection IV reduces the damage by 16% (4 * 4%).
  4. Blast Protection IV minimizes the damage by 60% (4 * 15%).
  5. Total Reduction: The effects stack, for a total reduction of 76% (16% + 60%).
  6. Final Damage: The 20 damage is reduced by 76%. You only take 4.8 damage (about 2.5 hearts) instead of 10.