Package de.slikey.effectlib.effect
Class EquationEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.EquationEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf this is true, after cycling the inner equation, it'll be set to 0.intThese is the limit for the steps until it starts over.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.intHow many steps to take per iterationintHow many steps to take per sub-iterationThe variable name used in equations to represent major ticksThe variable name used in sub-equations to represent minor ticksA set of equations that, if set, will be performed in a sub-iteration for each major iteration.Equations defining the X,Y,Z coordinates over iteration t These equations can make use of most common math functions, including randomized numbers.Fields 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, onDone, 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
-
xEquation
Equations defining the X,Y,Z coordinates over iteration t These equations can make use of most common math functions, including randomized numbers. Some examples: 4*sin(t) cos(t * rand(-4,5) + 32 tan(t) -
yEquation
-
zEquation
-
variable
The variable name used in equations to represent major ticks -
particles
public int particlesHow many steps to take per iteration -
x2Equation
A set of equations that, if set, will be performed in a sub-iteration for each major iteration. -
y2Equation
-
z2Equation
-
variable2
The variable name used in sub-equations to represent minor ticks -
particles2
public int particles2How many steps to take per sub-iteration -
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". -
orientPitch
public boolean orientPitchSimilar to orient, however this is specific to pitch. -
maxSteps
public int maxStepsThese is the limit for the steps until it starts over. -
cycleMiniStep
public boolean cycleMiniStepIf this is true, after cycling the inner equation, it'll be set to 0. Set this to false if you want the miniStep to be saved between major steps.
-
-
Constructor Details
-
EquationEffect
-
-
Method Details