Package hm.zelha.particlesfx.shapers
Class ParticleLineCurved
java.lang.Object
hm.zelha.particlesfx.shapers.parents.RotationHandler
hm.zelha.particlesfx.shapers.parents.ParticleShaper
hm.zelha.particlesfx.shapers.ParticleLine
hm.zelha.particlesfx.shapers.ParticleLineCurved
- All Implemented Interfaces:
Shape
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final org.bukkit.util.VectorFields inherited from class hm.zelha.particlesfx.shapers.parents.ParticleShaper
animator, async, currentCount, delay, locationHelper, mechanics, overallCount, particle, particleFrequency, particlesPerDisplay, players, secondaryParticles, vectorHelperFields inherited from class hm.zelha.particlesfx.shapers.parents.RotationHandler
centroid, compounds, lastRotatedAround, locations, originalCentroid, origins, rhLocationHelper, rhRotHelper, rhVectorHelper, rot, rot2, rotHelper -
Constructor Summary
ConstructorsConstructorDescriptionParticleLineCurved(Particle particle, int particleFrequency, LocationSafe... locations) ParticleLineCurved(Particle particle, LocationSafe... locations) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclone()protected ParticleShapervoiddisplay()getCurve(int index) intbooleanvoidremoveCurve(int index) voidscale(double x, double y, double z) Rescales this shape such that a shape with the xyz radiuses of 4, 3, 4, resized by 1.25, 1.25, 1.25, would have its radiuses become 5, 3.75, 5.setRotateCurves(boolean rotateCurves) Methods inherited from class hm.zelha.particlesfx.shapers.ParticleLine
addLocation, addLocation, getLocation, removeLocationMethods inherited from class hm.zelha.particlesfx.shapers.parents.ParticleShaper
addMechanic, addParticle, addPlayer, addPlayer, applyMechanics, getCurrentParticle, getDelay, getMechanicAmount, getParticle, getParticleFrequency, getParticlesPerDisplay, getPlayerAmount, getPlayers, getSecondaryParticle, getSecondaryParticleAmount, hasPlayer, isAsync, isRunning, removeMechanic, removeParticle, removePlayer, removePlayer, setAsync, setDelay, setDisplayPosition, setParticle, setParticleFrequency, setParticlesPerDisplay, setWorld, start, stopMethods inherited from class hm.zelha.particlesfx.shapers.parents.RotationHandler
addCompound, calculateCentroid, face, faceAroundLocation, getAroundAxisPitch, getAroundAxisRoll, getAroundAxisYaw, getAroundPitch, getAroundRoll, getAroundRotationOrder, getAroundYaw, getAxisPitch, getAxisRoll, getAxisYaw, getClonedCenter, getDirection, getLocationAmount, getLocations, getLocationsList, getPitch, getRoll, getRotationOrder, getTotalDistance, getWorld, getYaw, move, move, move, recalculateIfNeeded, removeCompound, rotate, rotateAroundLocation, scale, setAroundAxisPitch, setAroundAxisRoll, setAroundAxisRotation, setAroundAxisYaw, setAroundPitch, setAroundRoll, setAroundRotation, setAroundRotationOrder, setAroundYaw, setAxisPitch, setAxisRoll, setAxisRotation, setAxisYaw, setPitch, setRoll, setRotation, setRotationOrder, setYawMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hm.zelha.particlesfx.shapers.parents.Shape
face, faceAroundLocation, getAroundAxisPitch, getAroundAxisRoll, getAroundAxisYaw, getAroundPitch, getAroundRoll, getAroundRotationOrder, getAroundYaw, getAxisPitch, getAxisRoll, getAxisYaw, getClonedCenter, getLocationAmount, getLocations, getPitch, getRoll, getRotationOrder, getTotalDistance, getWorld, getYaw, move, move, move, rotate, rotateAroundLocation, scale, setAroundAxisPitch, setAroundAxisRoll, setAroundAxisRotation, setAroundAxisYaw, setAroundPitch, setAroundRoll, setAroundRotation, setAroundRotationOrder, setAroundYaw, setAxisPitch, setAxisRoll, setAxisRotation, setAxisYaw, setPitch, setRoll, setRotation, setRotationOrder, setYaw
-
Field Details
-
curves
-
vectorHelper2
protected final org.bukkit.util.Vector vectorHelper2 -
rotateCurves
protected boolean rotateCurves
-
-
Constructor Details
-
ParticleLineCurved
-
ParticleLineCurved
-
-
Method Details
-
display
public void display()- Specified by:
displayin interfaceShape- Overrides:
displayin classParticleLine
-
clone
- Specified by:
clonein interfaceShape- Overrides:
clonein classParticleLine
-
cloneConstructor
- Overrides:
cloneConstructorin classParticleLine
-
scale
public void scale(double x, double y, double z) Description copied from interface:ShapeRescales this shape such that a shape with the xyz radiuses of 4, 3, 4, resized by 1.25, 1.25, 1.25, would have its radiuses become 5, 3.75, 5.- Specified by:
scalein interfaceShape- Overrides:
scalein classRotationHandler- Parameters:
x- x scaley- y scalez- z scale
-
addCurve
-
addCurve
-
removeCurve
public void removeCurve(int index) -
setRotateCurves
- Parameters:
rotateCurves- whether curves are rotated with the shape, defaults to true
-
isRotatingCurves
public boolean isRotatingCurves()- Returns:
- whether curves are rotated with the shape, defaults to true
-
getCurve
-
getCurveAmount
public int getCurveAmount()
-