Changes
Page history
Create Skills/Targeters/BlockVein
authored
Apr 27, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Targeters/BlockVein.md
0 → 100644
View page @
449173f5
## 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