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