public class RaytraceMechanic extends SkillMechanic implements IMetaSkill
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected Optional<Skill> |
entitySkill |
protected org.bukkit.FluidCollisionMode |
fluidCollisionMode |
protected boolean |
ignorePassableBlocks |
protected Optional<Skill> |
locationSkill |
protected double |
maxDistance |
protected float |
projectileVelocityAccuracy |
protected float |
projectileVelocityHorizNoise |
protected float |
projectileVelocityHorizNoiseBase |
protected float |
projectileVelocityVertNoise |
protected float |
projectileVelocityVertNoiseBase |
protected List<SkillCondition> |
raytraceConditions |
protected double |
rayWidth |
protected String |
rtConditionString |
protected String |
strEntitySkill |
protected String |
strLocationSkill |
clock, config, forceSync, interval, line, originOverride, targetIsOrigin
ASYNC_SAFE, chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, cooldownTimer, delay, healthMod, power, powerScale, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, trigger, uuid
Constructor and Description |
---|
RaytraceMechanic(String skill,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
cast(SkillMetadata data) |
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getRunAsync, getTimerInterval, init, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, getCooldown, getPlugin, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setTargetsCreativePlayers, targetsCreativePlayers
protected String strEntitySkill
protected String strLocationSkill
protected String rtConditionString
protected double maxDistance
protected double rayWidth
protected boolean ignorePassableBlocks
protected org.bukkit.FluidCollisionMode fluidCollisionMode
protected float projectileVelocityAccuracy
protected float projectileVelocityVertNoise
protected float projectileVelocityHorizNoise
protected float projectileVelocityVertNoiseBase
protected float projectileVelocityHorizNoiseBase
protected List<SkillCondition> raytraceConditions
public RaytraceMechanic(String skill, MythicLineConfig mlc)
public boolean cast(SkillMetadata data)
cast
in interface IMetaSkill
Copyright © 2020. All rights reserved.