Package de.slikey.effectlib.effect
Class GridEffect
java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.GridEffect
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTo center the grid on the locationintColumns of the gridfloatHeight per cell in blocksintParticles to be spawned on the vertical borders of the cellintParticles to be spawned on the horizontal borders of the celldoubleRotation around the Y-axisdoubleRotation around the X-axisdoubleRotation around the Z-axisintRows of the gridfloatWidth per cell in blocksFields 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 TypeMethodDescriptionprotected voidaddParticle(org.bukkit.Location location, org.bukkit.util.Vector v) voidonRun()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, reset, 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
-
rows
public int rowsRows of the grid -
columns
public int columnsColumns of the grid -
widthCell
public float widthCellWidth per cell in blocks -
heightCell
public float heightCellHeight per cell in blocks -
particlesWidth
public int particlesWidthParticles to be spawned on the horizontal borders of the cell -
particlesHeight
public int particlesHeightParticles to be spawned on the vertical borders of the cell -
rotation
public double rotationRotation around the Y-axis -
rotationX
public double rotationXRotation around the X-axis -
rotationZ
public double rotationZRotation around the Z-axis -
center
public boolean centerTo center the grid on the location
-
-
Constructor Details
-
GridEffect
-
-
Method Details