Package de.slikey.effectlib.effect
Class ModifiedEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.ModifiedEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.bukkit.configuration.ConfigurationSectionThe base configuration of the inner effect.The class name of the effect to modify.booleanWhether 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".booleanSimilar to orient, however this is specific to pitch.Effect parameters to modify each tick, paired with an equation used to modify them.doubleThe starting value of variable adoubleThe starting value of variable bMove the entire effect's x location aroundMove the entire effect's y location aroundMove the entire effect's z location aroundFields inherited from class de.slikey.effectlib.Effect
arrivalTime, asynchronous, autoOrient, blockData, blockDuration, callback, color, colorList, colors, delay, disappearWithOriginEntity, disappearWithTargetEntity, duration, effectManager, iterations, material, materialData, maxIterations, offset, origin, particle, particleCount, particleData, particleOffsetX, particleOffsetY, particleOffsetZ, particleSize, period, pitch, pitchOffset, probability, relativeOffset, sculkChargeRotation, shriekDelay, speed, subEffect, subEffectClass, target, targetOffset, targetPlayers, toColor, toColorList, toColors, type, updateDirections, updateLocations, visibleRange, yaw, yawOffset -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.slikey.effectlib.Effect
cancel, cancel, canDisappearWithOriginEntity, canDisappearWithTargetEntity, canUpdateDirections, display, display, display, display, display, getArrivalTime, getBlockData, getBlockDuration, getCallback, getColor, getColorList, getColors, getDelay, getDuration, getDynamicOrigin, getDynamicTarget, getEffectManager, getEntity, getIterations, getLocation, getMaterial, getMaterialData, getMaxIterations, getOffset, getOrigin, getParticle, getParticleCount, getParticleData, getParticleOffsetX, getParticleOffsetY, getParticleOffsetZ, getParticleSize, getPeriod, getPitch, getPitchOffset, getProbability, getRelativeOffset, getSculkChargeRotation, getShriekDelay, getSpeed, getStartTime, getSubEffect, getSubEffectClass, getTarget, getTargetEntity, getTargetOffset, getTargetPlayer, getTargetPlayers, getToColor, getToColorList, getToColors, getType, getVisibleRange, getYaw, getYawOffset, infinite, initialize, isAsynchronous, isAutoOrient, isDone, isPlaying, isUpdateLocations, parseColorList, prepare, reloadParameters, run, setBlockData, setBlockDuration, setDynamicOrigin, setDynamicTarget, setEntity, setLocation, setMaterial, setMaterialData, setMaxIterations, setOrigin, setParticleCount, setParticleOffsetX, setParticleOffsetY, setParticleOffsetZ, setParticleSize, setStartTime, setTarget, setTargetEntity, setTargetLocation, setTargetPlayer, setTargetPlayers, setType, start, updateDuration, updateLocation, updateTarget, validate
-
Field Details
-
effect
public org.bukkit.configuration.ConfigurationSection effectThe base configuration of the inner effect. -
effectClass
The class name of the effect to modify. Can be left blank if class is set in effect configuration. -
xEquation
Move the entire effect's x location around -
yEquation
Move the entire effect's y location around -
zEquation
Move the entire effect's z location around -
variableA
public double variableAThe starting value of variable a -
variableB
public double variableBThe starting value of variable b -
orient
public boolean orientWhether 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". This is only used if setting an x, y, z equation. -
orientPitch
public boolean orientPitchSimilar to orient, however this is specific to pitch. -
parameters
Effect parameters to modify each tick, paired with an equation used to modify them.
-
-
Constructor Details
-
ModifiedEffect
-
-
Method Details
-
reset
public void reset()Description copied from class:EffectEffects should override this if they want to be reusable, this is called prior to starting so state can be reset. -
onDone
public void onDone()Description copied from class:EffectCalled when this effect is done playing (whenEffect.done()is called). -
onRun
public void onRun() -
getInnerEffect
-