Pular para o conteúdo principal

Indestructible Action

Has a chance to repair the tool instead of taking damage when mining

Campos

CampoTipoPadrãoDescrição
repairChanceDouble0.1Chance to repair 1 durability instead of taking damage (0.1 = 10%)
Campos comuns do TypeWriter (criteria, modifiers, triggers)
CampoTipoPadrãoDescrição
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.