Anti Knockback Action
Provides knockback resistance when equipped
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
kbResistance | Double | 0.5 | Amount of knockback resistance to apply (e.g. 0.5 for 50%) |
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
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 ARMOR_EQUIP. It applies when an armor piece is equipped and is removed when it is taken off.