Treasure Hunter Action
Mining simple blocks like Dirt or Stone has a chance to drop Emeralds
Campos
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
chance | Double | 0.005 | Chance to drop a treasure per block broken (e.g. 0.005 for 0.5%) |
Campos comunes de TypeWriter (criteria, modifiers, triggers)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
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 BLOCK_BREAK. It reads the block-break event.