Package de.slikey.effectlib.effect
Class HelixEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.HelixEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleTurns the helix by this angle each iteration around the x-axisdoubleTurns the helix by this angle each iteration around the y-axisdoubleTurns the helix by this angle each iteration around the z-axisfloatFactor for the curves.booleanShould it rotate?booleanWhether to orient to the direction of the source locationintParticles per strandfloatRadius of helixdoubleRotation of the helix (Fraction of PI)protected floatCurrent step.intAmount of strandsdoubleRotation of the torus.doubleRotation of the torus.doubleRotation of the torus.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
-
strands
public int strandsAmount of strands -
particles
public int particlesParticles per strand -
radius
public float radiusRadius of helix -
curve
public float curveFactor for the curves. Negative values reverse rotation. -
rotation
public double rotationRotation of the helix (Fraction of PI) -
orient
public boolean orientWhether to orient to the direction of the source location -
enableRotation
public boolean enableRotationShould it rotate? -
xRotation
public double xRotationRotation of the torus. -
yRotation
public double yRotationRotation of the torus. -
zRotation
public double zRotationRotation of the torus. -
angularVelocityX
public double angularVelocityXTurns the helix by this angle each iteration around the x-axis -
angularVelocityY
public double angularVelocityYTurns the helix by this angle each iteration around the y-axis -
angularVelocityZ
public double angularVelocityZTurns the helix by this angle each iteration around the z-axis -
step
protected float stepCurrent step. Works as a counter
-
-
Constructor Details
-
HelixEffect
-
-
Method Details