Package hm.zelha.particlesfx.particles
Class ParticleVault
java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.parents.TravellingParticle
hm.zelha.particlesfx.particles.ParticleVault
- All Implemented Interfaces:
IParticle
-
Field Summary
Fields inherited from class hm.zelha.particlesfx.particles.parents.TravellingParticle
control, inverse, toGo, velocity -
Constructor Summary
ConstructorsConstructorDescriptionParticleVault(double offsetX, double offsetY, double offsetZ) ParticleVault(double offsetX, double offsetY, double offsetZ, int count) ParticleVault(int count) ParticleVault(org.bukkit.Location toGo) ParticleVault(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ) ParticleVault(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ, int count) ParticleVault(org.bukkit.util.Vector velocity) ParticleVault(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ) ParticleVault(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
-
ParticleVault
public ParticleVault(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ, int count) -
ParticleVault
public ParticleVault(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ, int count) -
ParticleVault
public ParticleVault(org.bukkit.Location toGo, double offsetX, double offsetY, double offsetZ) -
ParticleVault
public ParticleVault(org.bukkit.util.Vector velocity, double offsetX, double offsetY, double offsetZ) -
ParticleVault
public ParticleVault(double offsetX, double offsetY, double offsetZ, int count) -
ParticleVault
public ParticleVault(double offsetX, double offsetY, double offsetZ) -
ParticleVault
public ParticleVault(int count) -
ParticleVault
public ParticleVault(org.bukkit.Location toGo) -
ParticleVault
public ParticleVault(org.bukkit.util.Vector velocity) -
ParticleVault
public ParticleVault()
-
-
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
-