| Modifier and Type | Field and Description |
|---|---|
protected Effect |
effectAtEndCached
Internal effectAtEnd instance
|
boolean |
isZigZag
Should it do a zig zag?
|
double |
length
Length of arc
A non-zero value here will use a length instead of the target endpoint
|
double |
maxLength
Max length of arc
A non-zero value here will use this as the upper bound for the computed length
|
org.bukkit.Particle |
particle
ParticleType of spawned particle
|
int |
particles
Particles per arc
|
protected int |
step
Internal counter
|
org.bukkit.configuration.ConfigurationSection |
subEffectAtEnd |
org.bukkit.configuration.ConfigurationSection |
subEffectAtEndCached |
protected boolean |
zag
Internal boolean
|
org.bukkit.util.Vector |
zigZagOffset
Direction of zig-zags
|
org.bukkit.util.Vector |
zigZagRelativeOffset
Relative direction of zig-zags
|
int |
zigZags
Number of zig zags in the line
|
arrivalTime, asynchronous, autoOrient, callback, color, colorList, colors, delay, disappearWithOriginEntity, disappearWithTargetEntity, duration, effectManager, iterations, material, materialData, maxIterations, offset, origin, particleCount, particleData, particleOffsetX, particleOffsetY, particleOffsetZ, particleSize, period, pitch, pitchOffset, probability, relativeOffset, speed, subEffect, target, targetOffset, targetPlayer, targetPlayers, toColor, toColorList, toColors, type, updateDirections, updateLocations, visibleRange, yaw, yawOffset| Constructor and Description |
|---|
LineEffect(EffectManager effectManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialize() |
void |
onRun() |
void |
reset()
Effects should override this if they want to be reusable, this is called prior to starting so
state can be reset.
|
cancel, cancel, display, display, display, display, display, getDelay, getEntity, getLocation, getPeriod, getStartTime, getTarget, getTargetEntity, getTargetPlayer, getType, infinite, isAsynchronous, isDone, onDone, parseColorList, prepare, reloadParameters, run, setDynamicOrigin, setDynamicTarget, setEntity, setLocation, setStartTime, setTargetEntity, setTargetLocation, setTargetPlayer, start, updateDuration, updateLocation, updateTarget, validatepublic org.bukkit.Particle particle
public boolean isZigZag
public int zigZags
public org.bukkit.util.Vector zigZagOffset
public org.bukkit.util.Vector zigZagRelativeOffset
public int particles
public double length
public double maxLength
public org.bukkit.configuration.ConfigurationSection subEffectAtEnd
public org.bukkit.configuration.ConfigurationSection subEffectAtEndCached
protected boolean zag
protected int step
protected Effect effectAtEndCached
public LineEffect(EffectManager effectManager)
public void reset()
Effectprotected void initialize()
initialize in class EffectCopyright © 2021 elMakers. All rights reserved.