| Modifier and Type | Field and Description |
|---|---|
org.bukkit.configuration.ConfigurationSection |
effect
The base configuration of the inner effect.
|
String |
effectClass
The class name of the effect to modify.
|
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.
|
Map<String,String> |
parameters
Effect parameters to modify each tick, paired with an equation used to modify them.
|
double |
variableA
The starting value of variable a
|
double |
variableB
The starting value of variable b
|
String |
xEquation
Move the entire effect's x location around
|
String |
yEquation
Move the entire effect's y location around
|
String |
zEquation
Move the entire effect's z location around
|
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 |
|---|
ModifiedEffect(EffectManager effectManager) |
| Modifier and Type | Method and Description |
|---|---|
Effect |
getInnerEffect() |
void |
onDone()
Called when this effect is done playing (when
Effect.done() is called). |
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, parseColorList, prepare, reloadParameters, run, setDynamicOrigin, setDynamicTarget, setEntity, setLocation, setStartTime, setTargetEntity, setTargetLocation, setTargetPlayer, start, updateDuration, updateLocation, updateTarget, validatepublic org.bukkit.configuration.ConfigurationSection effect
public String effectClass
public String xEquation
public String yEquation
public String zEquation
public double variableA
public double variableB
public boolean orient
public boolean orientPitch
public ModifiedEffect(EffectManager effectManager)
public void reset()
Effectpublic void onDone()
EffectEffect.done() is called).public Effect getInnerEffect()
Copyright © 2021 elMakers. All rights reserved.