Skip to main content

Silence Action

Silences the target, applying severe mining fatigue and weakness to prevent them from fighting back effectively

Fields

FieldTypeDefaultDescription
durationTicksInt100Duration of the silence effect in ticks (20 ticks = 1 second)
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
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.