|
|
|
## Targeter: BlockVein
|
|
|
|
Target all adjancent blocks that match the blocktype, starting from the origin of the skill
|
|
|
|
|
|
|
|
### Attributes
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|----------------|-----------------|--------------------------------------------------------|:-------:|
|
|
|
|
| blocktypes |blocktype, bt | Blocks to add to the vein. Can be a list. | STONE |
|
|
|
|
| limit |max, l, m | Limit of the number of blocks added to the vein. | 10 |
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
|
|
# Vein mine whatever you mine
|
|
|
|
VeinMinerPickaxe:
|
|
|
|
Id: NETHERITE_PICKAXE
|
|
|
|
Skills:
|
|
|
|
- breakblock{origin=@TargetLocation} @Vein{bt=<caster.raycast>} ~onBlockBreak
|
|
|
|
|
|
|
|
# Vein mine only certain ores
|
|
|
|
VeinMinerPickaxeOres:
|
|
|
|
Id: DIAMOND_PICKAXE
|
|
|
|
Skills:
|
|
|
|
- breakblock{origin=@TargetLocation} @Vein{bt=REDSTONE_ORE, DEEPSLATE_REDSTONE_ORE} ~onBlockBreak
|
|
|
|
``` |
|
|
|
\ No newline at end of file |