| Modifier and Type | Field and Description |
|---|---|
double |
angularVelocityX
Turns the cube by this angle each iteration around the x-axis
|
double |
angularVelocityY
Turns the cube by this angle each iteration around the y-axis
|
double |
angularVelocityZ
Turns the cube by this angle each iteration around the z-axis
|
float |
edgeLength
Length of the edges
|
boolean |
enableRotation
True if rotation is enable
|
boolean |
orient
Should it orient pitch and yaw?
|
boolean |
outlineOnly
Only the outlines are drawn
|
org.bukkit.Particle |
particle
Particle of the cube
|
int |
particles
Particles in each row
|
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 |
|---|
CubeEffect(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 edgeLength
public double angularVelocityX
public double angularVelocityY
public double angularVelocityZ
public int particles
public boolean enableRotation
public boolean outlineOnly
public boolean orient
protected int step
public CubeEffect(EffectManager effectManager)
Copyright © 2021 elMakers. All rights reserved.