跳到主要内容

Bleed Action

Applies a bleeding effect over time to the target

字段

字段类型默认值描述
damagePerTickDouble1.0Damage dealt per tick of bleeding
totalTicksInt3Number of times the bleed ticks
intervalTicksLong20Delay in server ticks between each bleed tick
particleCountInt10Amount of particles spawned on each bleed tick (0 disables them)
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 PLAYER_ATTACK. It reads the damage event of a melee hit.