Package de.slikey.effectlib.effect
Class TornadoEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.TornadoEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleAmount of y-jitter between circle particlesintNumber of particles per circleorg.bukkit.Colororg.bukkit.ParticleParticle of the cloudintNumber of particles in the cloudfloatSize of the cloudfloatdoubleDistance between each rowfloatMax radius of the TornadobooleanShould the cloud appear?booleanShould the tornado appear?protected intInternal counterorg.bukkit.ColorfloatHeight of the Tornadoorg.bukkit.ParticleTornado particledoubleY-Offset from locationFields 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
Modifier and TypeMethodDescriptionList<org.bukkit.util.Vector> createCircle(double y, double radius) voidonRun()voidreset()Effects should override this if they want to be reusable, this is called prior to starting so state can be reset.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
-
tornadoParticle
public org.bukkit.Particle tornadoParticleTornado particle -
tornadoColor
public org.bukkit.Color tornadoColor -
cloudParticle
public org.bukkit.Particle cloudParticleParticle of the cloud -
cloudColor
public org.bukkit.Color cloudColor -
cloudSpeed
public float cloudSpeed -
cloudSize
public float cloudSizeSize of the cloud -
yOffset
public double yOffsetY-Offset from location -
tornadoHeight
public float tornadoHeightHeight of the Tornado -
maxTornadoRadius
public float maxTornadoRadiusMax radius of the Tornado -
showCloud
public boolean showCloudShould the cloud appear? -
showTornado
public boolean showTornadoShould the tornado appear? -
distance
public double distanceDistance between each row -
circleParticles
public int circleParticlesNumber of particles per circle -
cloudParticles
public int cloudParticlesNumber of particles in the cloud -
circleHeight
public double circleHeightAmount of y-jitter between circle particles -
step
protected int stepInternal counter
-
-
Constructor Details
-
TornadoEffect
-
-
Method Details