Class DistanceCondition
java.lang.Object
io.lumine.mythic.core.skills.SkillCondition
io.lumine.mythic.core.skills.conditions.all.DistanceCondition
- All Implemented Interfaces:
IEntityComparisonCondition
,ILocationComparisonCondition
,ISkillCondition
public class DistanceCondition
extends SkillCondition
implements IEntityComparisonCondition, ILocationComparisonCondition
-
Field Summary
Fields inherited from class io.lumine.mythic.core.skills.SkillCondition
ACTION, actionVar, conditionVar, line, parent, threadSafetyLevel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(AbstractEntity entity, AbstractEntity target) boolean
check
(AbstractLocation location, AbstractLocation target) Methods inherited from class io.lumine.mythic.core.skills.SkillCondition
evaluateCaster, evaluateDropCause, evaluateDropper, evaluateEntity, evaluateRandomSpawnPoint, evaluateSpawner, evaluateTargets, evaluateToEntity, evaluateToEntity, evaluateToLocation, evaluateTrigger, getActionVariable, getPlugin, getTypeName, handleOutcome, handleOutcome, handleOutcome, handleOutcome, handleOutcome, setAction, setParent
-
Field Details
-
distance
protected io.lumine.utils.numbers.RangedDouble distance
-
-
Constructor Details
-
DistanceCondition
-
-
Method Details
-
check
- Specified by:
check
in interfaceIEntityComparisonCondition
-
check
- Specified by:
check
in interfaceILocationComparisonCondition
-