ConditionSkill

targetWithin

Tests if the target's target is within a certain distance

Configuration Fields (1)

NameTypeDefaultDescription
distance
d
PlaceholderDoubleDistance 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
Community-maintained documentation for the Mythic plugin ecosystem.