Armor Actions
Actions triggered when taking damage via EnchantmentEvent.PLAYER_DEFEND or EnchantmentEvent.ARMOR_EQUIP. All actions have the standard ActionEntry fields (id, name, criteria, modifiers, triggers).
| Action Entry | Description | Icon | Extra Fields |
|---|---|---|---|
thorns_advanced_action | Reflects a % of incoming melee damage back to the attacker | mdi:shield-star | reflectPercentage: Double = 0.15 (15% damage reflected) |
regeneration_aura_action | Grants passive regeneration when attacked | mdi:heart-pulse | None |
resistance_aura_action | Grants a resistance buff when attacked | mdi:shield-check | duration: Int = 100 (ticks) |
evasion_action | Chance to completely dodge and cancel incoming damage | mdi:run-fast | dodgeChance: Double = 0.1 (10% dodge) |
health_boost_action | Grants extra maximum health when equipped | mdi:heart-plus | bonusHearts: Double = 4.0 (extra hearts) |
deflect_action | Chance to deflect incoming projectiles back at the attacker | mdi:shield-check | deflectChance: Double = 0.15 (15% deflect) |
anti_knockback_action | Knockback resistance when equipped | mdi:anchor | None |
molten_armor_action | Sets the attacker on fire when they strike you | mdi:fire | fireDuration: Int = 60 (seconds) |
frozen_armor_action | Slows and freezes the attacker when they strike you | mdi:snowflake | freezeDuration: Int = 60 (ticks) |
enlightened_armor_action | Chance to heal when attacked | mdi:lightbulb | healChance: Double = 0.2 (20%) |
voodoo_armor_action | Chance to apply Weakness to the attacker | mdi:voodoo | weaknessChance: Double = 0.2 (20%) |
hardened_armor_action | Chance to ignore durability loss | mdi:shield-crown | ignoreChance: Double = 0.3 (30%) |
angel_wings_action | Reduces or completely negates fall damage | mdi:angel | None |
toxic_aura_action | Emits a toxic cloud when taking heavy damage | mdi:skull-outline | damageThreshold: Double = 8.0 (min damage to trigger) |
implosion_armor_action | Shockwave when health drops critically low | mdi:explosion | healthThreshold: Double = 4.0 (trigger at \<4 HP) |
Example
{
"id": "thorny_defense",
"name": "Thorny Defense",
"reflectPercentage": 0.25
}