Package hm.zelha.particlesfx.particles
Class ParticleEnchant
java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.parents.TravellingParticle
hm.zelha.particlesfx.particles.ParticleEnchant
- All Implemented Interfaces:
IParticle
-
Field Summary
Fields inherited from class hm.zelha.particlesfx.particles.parents.TravellingParticle
control, inverse, toGo, velocity -
Constructor Summary
ConstructorsConstructorDescriptionParticleEnchant(double offsetX, double offsetY, double offsetZ) ParticleEnchant(double offsetX, double offsetY, double offsetZ, int count) ParticleEnchant(int count) ParticleEnchant(org.bukkit.Location toGo) ParticleEnchant(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ) ParticleEnchant(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ, int count) ParticleEnchant(org.bukkit.util.Vector velocity) ParticleEnchant(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ) ParticleEnchant(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ, 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 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.Methods inherited from class hm.zelha.particlesfx.particles.parents.TravellingParticle
display, display, displayForPlayers, displayForPlayers, getLocationToGo, getPacketCount, getPacketSpeed, getVelocity, setLocationToGo, setLocationToGo, setVelocity, setVelocityMethods 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, setSpeed
-
Constructor Details
-
ParticleEnchant
public ParticleEnchant(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ, int count) -
ParticleEnchant
public ParticleEnchant(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ, int count) -
ParticleEnchant
public ParticleEnchant(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ) -
ParticleEnchant
public ParticleEnchant(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ) -
ParticleEnchant
public ParticleEnchant(double offsetX, double offsetY, double offsetZ, int count) -
ParticleEnchant
public ParticleEnchant(double offsetX, double offsetY, double offsetZ) -
ParticleEnchant
public ParticleEnchant(int count) -
ParticleEnchant
public ParticleEnchant(org.bukkit.Location toGo) -
ParticleEnchant
public ParticleEnchant(org.bukkit.util.Vector velocity) -
ParticleEnchant
public ParticleEnchant()
-
-
Method Details
-
inherit
- Specified by:
inheritin interfaceIParticle- Overrides:
inheritin classTravellingParticle- Parameters:
particle- particle for this object to copy data from- Returns:
- this object
-
clone
- Specified by:
clonein interfaceIParticle- Specified by:
clonein classTravellingParticle
-
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.- Overrides:
getXYZin classTravellingParticle- Parameters:
location- the location passed into the display method- Returns:
- the xyzHelper with the modified X/Y/Z values
-
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 classTravellingParticle- Parameters:
location- the location passed into the display method- Returns:
- the offsetHelper with the modified offset values
-