Changes
Page history
Create Skills/Targeters/TargetBlock
authored
Jul 13, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Targeters/TargetBlock.md
0 → 100644
View page @
df430690
## Description
Targets the block the casting player is looking at.
> If the caster is not a player, then:
> - If the caster is a MythicMob with an active ThreatTable, the location of the entity with the most Threat will be returned
>- If the above is not met, if the caster is currently in combat, the location of its target will be returned
>- If the above is not met, the location of the last entity that damaged the caster will be returned
>
> *At Highdown fair for two farthings...*
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| maxdistance | max, distance, d | The maximum distance to check for the block, if the caster is a player | 64 |
| ignoreTransparent | it | If transparent blocks should be ignored | true |
## Examples
```
yaml
ExampleSkill
:
Skills
:
-
effect:particles{hs=1;vs=1} @TargetBlock{ignoreTransparent=false}
```
\ No newline at end of file