跳到主要内容

Haste Action

Passively grants Haste while breaking blocks

字段

字段类型默认值描述
durationTicksInt100Duration of the Haste effect in ticks applied upon breaking a block
amplifierInt0Level of the Haste effect (0 = level 1)
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

When to use it​

Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is BLOCK_BREAK. It reads the block-break event.