| Modifier and Type | Field and Description |
|---|---|
double |
angularVelocity
Radials per iteration to spawn the next particle (PI / 16)
|
float |
lengthGrow
Growing per iteration in the length (0.05)
|
org.bukkit.Particle |
particle
ParticleType of spawned particle
|
int |
particles
Cone-particles per interation (10)
|
int |
particlesCone
Conesize in particles per cone
|
float |
radiusGrow
Growth in blocks per iteration on the radius (0.006)
|
boolean |
randomize
Randomize every cone on creation (false)
|
double |
rotation
Start-angle or rotation of the cone
|
protected int |
step
Current step.
|
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 |
|---|
ConeEffect(EffectManager effectManager) |
| Modifier and Type | Method and Description |
|---|---|
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, initialize, 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 float lengthGrow
public double angularVelocity
public int particles
public float radiusGrow
public int particlesCone
public double rotation
public boolean randomize
protected int step
public ConeEffect(EffectManager effectManager)
Copyright © 2021 elMakers. All rights reserved.