Class FixedParticleEffect
java.lang.Object
dev.esophose.playerparticles.particles.FixedParticleEffect
public class FixedParticleEffect
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FixedParticleEffect(java.util.UUID pplayerUUID, int id, org.bukkit.Location location, ParticlePair particlePair)
Constructs a new FixedParticleEffect FixedParticleEffects can NOT use event styles -
Method Summary
Modifier and Type Method Description int
getId()
Gets the id unique to the owner's UUIDorg.bukkit.Location
getLocation()
Gets the location this effect will be displayed atjava.util.UUID
getOwnerUniqueId()
Gets the owner of the effect's UUIDParticlePair
getParticlePair()
Gets the ParticlePair, which contains all spawn information about this fixed effectvoid
setCoordinates(double x, double y, double z)
Updates the coordinates of the FixedParticleEffect
-
Constructor Details
-
FixedParticleEffect
public FixedParticleEffect(java.util.UUID pplayerUUID, int id, org.bukkit.Location location, ParticlePair particlePair)Constructs a new FixedParticleEffect FixedParticleEffects can NOT use event styles- Parameters:
pplayerUUID
- The UUID of the player who owns the effectid
- The id this effect has, unique to the owner pplayerlocation
- The location to display the effect atparticlePair
- The ParticlePair that represents this FixedParticleEffect's appearance
-
-
Method Details
-
getOwnerUniqueId
public java.util.UUID getOwnerUniqueId()Gets the owner of the effect's UUID- Returns:
- The owner of the effect's UUID
-
getId
public int getId()Gets the id unique to the owner's UUID- Returns:
- This effect's id
-
getParticlePair
Gets the ParticlePair, which contains all spawn information about this fixed effect- Returns:
- The ParticlePair that represents this FixedParticleEffect's appearance
-
getLocation
public org.bukkit.Location getLocation()Gets the location this effect will be displayed at- Returns:
- The effect's location
-
setCoordinates
public void setCoordinates(double x, double y, double z)Updates the coordinates of the FixedParticleEffect- Parameters:
x
- The new X coordinatey
- The new Y coordinatez
- The new Z coordinate
-