| Modifier and Type | Field and Description |
|---|---|
protected Collection<org.bukkit.util.Vector> |
cloudCache
Caches the Vectors used to build the wave
|
org.bukkit.Color |
cloudColor |
org.bukkit.Particle |
cloudParticle |
float |
depthFront
Depth of the parabola tube
|
protected boolean |
firstStep
Do not mess with the following attributes.
|
float |
height
Height of the wave in blocks
|
float |
heightBack
Height of the parabola arc forming the back
|
float |
lengthBack
The distance from the origin location to the last point of the wave
|
float |
lengthFront
The distance from the origin location to the first point of the wave
|
org.bukkit.Particle |
particle |
int |
particlesBack
Amount of particles forming the back
|
int |
particlesFront
Amount of particles forming the tube
|
int |
rows
Rows to build the wave in the width
|
org.bukkit.util.Vector |
velocity
Velocity of the wave
Call velocity.zero() if the wave should be stationary
|
protected Collection<org.bukkit.util.Vector> |
waterCache
Caches the Vectors used to build the wave
|
float |
width
Width of the wave in blocks
|
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 |
|---|
WaveEffect(EffectManager effectManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
invalidate(org.bukkit.Location location)
Call this method when you change anything related to the creation of the wave
|
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 org.bukkit.Particle cloudParticle
public org.bukkit.Color cloudColor
public org.bukkit.util.Vector velocity
protected final Collection<org.bukkit.util.Vector> waterCache
protected final Collection<org.bukkit.util.Vector> cloudCache
public int particlesFront
public int particlesBack
public int rows
public float lengthFront
public float lengthBack
public float depthFront
public float heightBack
public float height
public float width
protected boolean firstStep
public WaveEffect(EffectManager effectManager)
public void reset()
Effectpublic void invalidate(org.bukkit.Location location)
Copyright © 2021 elMakers. All rights reserved.