Wither Strike Action
Applies wither effect to the target struck
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
durationTicks | Int | 100 | Duration of the wither effect in ticks (20 ticks = 1 second) |
amplifier | Int | 0 | Level of the wither effect (0 = level 1) |
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 PLAYER_ATTACK. It reads the damage event of a melee hit.