Package de.slikey.effectlib.effect
Class ConeEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.ConeEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleRadials per iteration to spawn the next particle (PI / 16)floatGrowing per iteration in the length (0.05)intCone-particles per interation (10)intConesize in particles per conefloatGrowth in blocks per iteration on the radius (0.006)booleanRandomize every cone on creation (false)doubleStart-angle or rotation of the coneprotected 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
-
lengthGrow
public float lengthGrowGrowing per iteration in the length (0.05) -
angularVelocity
public double angularVelocityRadials per iteration to spawn the next particle (PI / 16) -
particles
public int particlesCone-particles per interation (10) -
radiusGrow
public float radiusGrowGrowth in blocks per iteration on the radius (0.006) -
particlesCone
public int particlesConeConesize in particles per cone -
rotation
public double rotationStart-angle or rotation of the cone -
randomize
public boolean randomizeRandomize every cone on creation (false) -
step
protected int stepCurrent step. Works as counter
-
-
Constructor Details
-
ConeEffect
-
-
Method Details