ConditionSkill
targetWithin
Tests if the target's target is within a certain distance
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| distance d | PlaceholderDouble | — | Distance to check |
Examples & Notes
Examples
Conditions:
- targetwithin{d=10} true
This will check if the vanilla target of the casting entity is within 10 blocks
TargetConditions:
- targetwithin{d=10} true
This will check if the vanilla target of the inherited target is within 10 blocks of the caster… yikes! While it technically works, let’s not use it this way!
Universal Condition Options
- Author:
- Ashijin
