Package hm.zelha.particlesfx.particles
Class ParticleSweepAttack
java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.ParticleSweepAttack
- All Implemented Interfaces:
IParticle,SizeableParticle
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParticleSweepAttack(double size) ParticleSweepAttack(double offsetX, double offsetY, double offsetZ) ParticleSweepAttack(double size, double offsetX, double offsetY, double offsetZ) ParticleSweepAttack(double size, double offsetX, double offsetY, double offsetZ, int count) ParticleSweepAttack(double offsetX, double offsetY, double offsetZ, int count) ParticleSweepAttack(double size, int count) ParticleSweepAttack(int count) -
Method Summary
Modifier and TypeMethodDescriptionclone()protected org.bukkit.util.VectorgetOffsets(org.bukkit.Location location) Meant to be overridden by child classes to modify the offset values of the packet sent to the player.protected intMeant to be overridden by child classes to modify the count value of the packet sent to the player.protected floatMeant to be overridden by child classes to modify the speed value of the packet sent to the player.doublegetSize()protected org.bukkit.util.VectorgetXYZ(org.bukkit.Location location) Meant to be overridden by child classes to modify the X/Y/Z values of the packet sent to the player.voidsetSize(double size) Methods inherited from class hm.zelha.particlesfx.particles.parents.Particle
display, display, displayForPlayers, displayForPlayers, generateFakeOffset, getCount, getOffsetX, getOffsetY, getOffsetZ, getRadius, getSpeed, getStrangePacket, setCount, setOffset, setOffsetX, setOffsetY, setOffsetZ, setRadius, setSpeedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hm.zelha.particlesfx.particles.parents.IParticle
display, displayForPlayers, displayForPlayers, getCount, getOffsetX, getOffsetY, getOffsetZ, getRadius, getSpeed, setCount, setOffset, setOffsetX, setOffsetY, setOffsetZ, setRadius, setSpeed
-
Field Details
-
size
protected double size
-
-
Constructor Details
-
ParticleSweepAttack
public ParticleSweepAttack(double size, double offsetX, double offsetY, double offsetZ, int count) -
ParticleSweepAttack
public ParticleSweepAttack(double size, double offsetX, double offsetY, double offsetZ) -
ParticleSweepAttack
public ParticleSweepAttack(double offsetX, double offsetY, double offsetZ, int count) -
ParticleSweepAttack
public ParticleSweepAttack(double offsetX, double offsetY, double offsetZ) -
ParticleSweepAttack
public ParticleSweepAttack(double size, int count) -
ParticleSweepAttack
public ParticleSweepAttack(double size) -
ParticleSweepAttack
public ParticleSweepAttack(int count) -
ParticleSweepAttack
public ParticleSweepAttack()
-
-
Method Details
-
inherit
-
clone
-
getXYZ
protected org.bukkit.util.Vector getXYZ(org.bukkit.Location location) Description copied from class:ParticleMeant to be overridden by child classes to modify the X/Y/Z values of the packet sent to the player. -
getOffsets
protected org.bukkit.util.Vector getOffsets(org.bukkit.Location location) Description copied from class:ParticleMeant to be overridden by child classes to modify the offset values of the packet sent to the player.- Overrides:
getOffsetsin classParticle- Parameters:
location- the location passed into the display method- Returns:
- the offsetHelper with the modified offset values
-
getPacketSpeed
protected float getPacketSpeed()Description copied from class:ParticleMeant to be overridden by child classes to modify the speed value of the packet sent to the player.- Overrides:
getPacketSpeedin classParticle- Returns:
- the modified speed value
-
getPacketCount
protected int getPacketCount()Description copied from class:ParticleMeant to be overridden by child classes to modify the count value of the packet sent to the player.- Overrides:
getPacketCountin classParticle- Returns:
- the modified count value
-
setSize
public void setSize(double size) - Specified by:
setSizein interfaceSizeableParticle
-
getSize
public double getSize()- Specified by:
getSizein interfaceSizeableParticle
-