Elytra Shield Action
Reduces kinetic damage taken from flying into walls
Fields
| Field | Type | Default | Description |
|---|---|---|---|
damageReduction | Double | 0.5 | Percentage of damage to reduce (e.g. 0.5 for 50%) |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
When to use it
Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is ENVIRONMENTAL_DAMAGE. It reduces kinetic damage.