| Modifier and Type | Field and Description |
|---|---|
boolean |
cycleMiniStep
If this is true, after cycling the inner equation, it'll be set to 0.
|
int |
maxSteps
These is the limit for the steps until it starts over.
|
boolean |
orient
Whether or not to orient the effect in the direction
of the source Location
If this is set to true, the X axis will represent "forward".
|
boolean |
orientPitch
Similar to orient, however this is specific to pitch.
|
org.bukkit.Particle |
particle
ParticleType of spawned particle
|
int |
particles
How many steps to take per iteration
|
int |
particles2
How many steps to take per sub-iteration
|
String |
variable
The variable name used in equations to represent major ticks
|
String |
variable2
The variable name used in sub-equations to represent minor ticks
|
String |
x2Equation
A set of equations that, if set, will be performed in a sub-iteration
for each major iteration.
|
String |
xEquation
Equations defining the X,Y,Z coordinates over
iteration t
These equations can make use of most common math functions,
including randomized numbers.
|
String |
y2Equation |
String |
yEquation |
String |
z2Equation |
String |
zEquation |
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 |
|---|
EquationEffect(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 String xEquation
public String yEquation
public String zEquation
public String variable
public int particles
public String x2Equation
public String y2Equation
public String z2Equation
public String variable2
public int particles2
public boolean orient
public boolean orientPitch
public int maxSteps
public boolean cycleMiniStep
public EquationEffect(EffectManager effectManager)
Copyright © 2021 elMakers. All rights reserved.