Changes
Page history
Create Skills/Targeters/BlocksInRadius
authored
Jul 09, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Targeters/BlocksInRadius.md
0 → 100644
View page @
fd43453c
## Description
Targets all blocks in a radius of the inherited targets.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| radius | r | The radius of the targeter | 2 |
| radiusy | ry, yradius, yr | The y component of the radius | radius |
| shape | s | The shape of the selected blocks. Can be
`SPHERE`
,
`CUBE`
| SPHERE |
| noair | na | Whether air should not be targeted | true |
| onlyair | oa | Whether only air should be targeted | false |
| nearorigin| no | Whether the targeter should target the origin | false |
## Examples
Those metaskills will allow you to target every non air block in a 10 blocks radius around the trigger of the skilltree
```
yaml
ExampleSkill1
:
Skills
:
-
skill{s=ExampleSkill2} @trigger
ExampleSkill2
:
Skills
:
-
effect:particles @BlocksInRadius{r=10}
```
## Aliases
-
[x] BIR
\ No newline at end of file