Package de.slikey.effectlib.effect
Class CubeEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.CubeEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleTurns the cube by this angle each iteration around the x-axisdoubleTurns the cube by this angle each iteration around the y-axisdoubleTurns the cube by this angle each iteration around the z-axisfloatLength of the edgesbooleanTrue if rotation is enablebooleanShould it orient pitch and yaw?booleanOnly the outlines are drawnintParticles in each rowprotected intCurrent step.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
-
edgeLength
public float edgeLengthLength of the edges -
angularVelocityX
public double angularVelocityXTurns the cube by this angle each iteration around the x-axis -
angularVelocityY
public double angularVelocityYTurns the cube by this angle each iteration around the y-axis -
angularVelocityZ
public double angularVelocityZTurns the cube by this angle each iteration around the z-axis -
particles
public int particlesParticles in each row -
enableRotation
public boolean enableRotationTrue if rotation is enable -
outlineOnly
public boolean outlineOnlyOnly the outlines are drawn -
orient
public boolean orientShould it orient pitch and yaw? -
step
protected int stepCurrent step. Works as counter
-
-
Constructor Details
-
CubeEffect
-
-
Method Details