| 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
|
boolean |
enableRotation
True if rotation is enable
|
float |
height
Height of Cylinder
|
boolean |
orient
Whether or not to orient the effect in the direction
of the source Location
|
org.bukkit.Particle |
particle
Particle of the cube
|
int |
particles
Particles in each row
|
float |
radius
Radius of cylinder
|
double |
rotationX
Rotation of the cylinder
|
double |
rotationY
Rotation of the cylinder
|
double |
rotationZ
Rotation of the cylinder
|
protected float |
sideRatio
Ratio of sides to entire surface
|
boolean |
solid
Toggles the cylinder to be solid
|
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 |
|---|
CylinderEffect(EffectManager effectManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateSideRatio() |
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 radius
public float height
public double angularVelocityX
public double angularVelocityY
public double angularVelocityZ
public double rotationX
public double rotationY
public double rotationZ
public int particles
public boolean enableRotation
public boolean solid
protected int step
protected float sideRatio
public boolean orient
public CylinderEffect(EffectManager effectManager)
public void reset()
Effectprotected void calculateSideRatio()
Copyright © 2021 elMakers. All rights reserved.