Vein Miner Action
Mines a vein of connected identical ores
Fields
| Field | Type | Default | Description |
|---|---|---|---|
maxBlocks | Int | 32 | Maximum amount of blocks that can be broken in one vein |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
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.