Package de.slikey.effectlib.effect
Class CircleEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.CircleEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleTurns the circle by this angle each iteration around the x-axisdoubleTurns the circle by this angle each iteration around the y-axisdoubleTurns the circle by this angle each iteration around the z-axisbooleanShould it rotate?doubleUsed to make a partial circlebooleanWhether or not to orient to the direction of the source locationintAmount of particles per circlefloatRadius of circle above headbooleanStart at the same location each step, use this along with maxAngle and wholeCircle to form persistent semicirclesprotected floatCurrent step.booleanTo make a whole circle each iterationdoubleRotation of the torus.doubleSubtracts from location if neededdoubleRotation of the torus.doubleSubtracts from location if neededdoubleRotation of the torus.doubleSubtracts from location if neededFields 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
-
orient
public boolean orientWhether or not to orient to the direction of the source location -
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 circle by this angle each iteration around the x-axis -
angularVelocityY
public double angularVelocityYTurns the circle by this angle each iteration around the y-axis -
angularVelocityZ
public double angularVelocityZTurns the circle by this angle each iteration around the z-axis -
radius
public float radiusRadius of circle above head -
maxAngle
public double maxAngleUsed to make a partial circle -
resetCircle
public boolean resetCircleStart at the same location each step, use this along with maxAngle and wholeCircle to form persistent semicircles -
step
protected float stepCurrent step. Works as a counter -
xSubtract
public double xSubtractSubtracts from location if needed -
ySubtract
public double ySubtractSubtracts from location if needed -
zSubtract
public double zSubtractSubtracts from location if needed -
enableRotation
public boolean enableRotationShould it rotate? -
particles
public int particlesAmount of particles per circle -
wholeCircle
public boolean wholeCircleTo make a whole circle each iteration
-
-
Constructor Details
-
CircleEffect
-
-
Method Details