Class ParticleLineRingEffect
java.lang.Object
io.lumine.mythic.core.skills.AbstractSkill
io.lumine.mythic.core.skills.SkillMechanic
io.lumine.mythic.core.skills.mechanics.ParticleEffect
io.lumine.mythic.core.skills.mechanics.ParticleLineRingEffect
- All Implemented Interfaces:
ISkillMechanic
,ITargetedEntitySkill
,ITargetedLocationSkill
,SkillHolder
public class ParticleLineRingEffect
extends ParticleEffect
implements ITargetedEntitySkill, ITargetedLocationSkill
-
Nested Class Summary
Nested classes/interfaces inherited from class io.lumine.mythic.core.skills.AbstractSkill
AbstractSkill.DelayedSkill
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected boolean
protected double
protected int
protected double
protected float
protected float
Fields inherited from class io.lumine.mythic.core.skills.mechanics.ParticleEffect
amount, audience, color, direction, directional, directionReversed, exactOffsets, isMob, me, mm, particle, particleData, pitch, pSpeed, setPitch, setYaw, startForwardOffset, startSideOffset, strMob, strParticle, useEyeLocation, viewDistance, vSpread, xSpread, yaw, yOffset, zSpread
Fields inherited from class io.lumine.mythic.core.skills.SkillMechanic
clock, config, executeAfterDeath, forceSync, interval, line, originOverride, targetIsOrigin
Fields inherited from class io.lumine.mythic.core.skills.AbstractSkill
chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, delay, file, healthMod, parent, power, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, targetInterval, threadSafetyLevel, trigger, uuid
-
Constructor Summary
ConstructorDescriptionParticleLineRingEffect
(SkillExecutor manager, File file, String skill, MythicLineConfig mlc) -
Method Summary
Modifier and TypeMethodDescriptioncastAtEntity
(SkillMetadata data, AbstractEntity target) castAtLocation
(SkillMetadata data, AbstractLocation target) protected void
playParticleLineEffect
(SkillMetadata data, AbstractLocation target, Collection<AbstractPlayer> audience) Methods inherited from class io.lumine.mythic.core.skills.mechanics.ParticleEffect
playColoredParticleEffect, playDirectionalParticleEffect, playEffect, playParticleEffect
Methods inherited from class io.lumine.mythic.core.skills.SkillMechanic
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getInternalName, getRunAsync, getTimerInterval, getTypeName, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
Methods inherited from class io.lumine.mythic.core.skills.AbstractSkill
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, evaluateTargets, getCooldown, getFilePath, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setParent, setTargetsCreativePlayers, targetsCreativePlayers, triggerCooldown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.lumine.mythic.api.skills.ISkillMechanic
getPlugin, getTargetsCreatives, getTargetsSpectators, getThreadSafetyLevel
-
Field Details
-
distanceBetween
protected float distanceBetween -
startYOffset
protected float startYOffset -
targetYOffset
protected float targetYOffset -
fromOrigin
protected boolean fromOrigin -
ringPoints
protected int ringPoints -
ringRadius
protected double ringRadius -
maxDistance
protected double maxDistance
-
-
Constructor Details
-
ParticleLineRingEffect
-
-
Method Details
-
castAtLocation
- Specified by:
castAtLocation
in interfaceITargetedLocationSkill
- Overrides:
castAtLocation
in classParticleEffect
-
castAtEntity
- Specified by:
castAtEntity
in interfaceITargetedEntitySkill
- Overrides:
castAtEntity
in classParticleEffect
-
playParticleLineEffect
protected void playParticleLineEffect(SkillMetadata data, AbstractLocation target, Collection<AbstractPlayer> audience)
-