public class ParticleSphereEffect extends ParticleEffect implements ITargetedEntitySkill, ITargetedLocationSkill
AbstractSkill.DelayedSkill
amount, color, direction, directional, directionReversed, exactOffsets, particle, particleData, pitch, pSpeed, setPitch, setYaw, startForwardOffset, startSideOffset, strParticle, useEyeLocation, viewDistance, vSpread, xSpread, yaw, yOffset, zSpread
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 |
---|
ParticleSphereEffect(String skill,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
castAtEntity(SkillMetadata data,
AbstractEntity target) |
boolean |
castAtLocation(SkillMetadata data,
AbstractLocation target) |
protected void |
playDirectionalParticleEffect(SkillMetadata data,
AbstractLocation origin,
AbstractLocation target,
AbstractLocation spawn) |
protected void |
playParticleSphereEffect(SkillMetadata data,
AbstractLocation t) |
playColoredParticleEffect, playDirectionalParticleEffect, playParticleEffect
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
public ParticleSphereEffect(String skill, MythicLineConfig mlc)
public boolean castAtLocation(SkillMetadata data, AbstractLocation target)
castAtLocation
in interface ITargetedLocationSkill
castAtLocation
in class ParticleEffect
public boolean castAtEntity(SkillMetadata data, AbstractEntity target)
castAtEntity
in interface ITargetedEntitySkill
castAtEntity
in class ParticleEffect
protected void playParticleSphereEffect(SkillMetadata data, AbstractLocation t)
protected void playDirectionalParticleEffect(SkillMetadata data, AbstractLocation origin, AbstractLocation target, AbstractLocation spawn)
Copyright © 2020. All rights reserved.