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 UUID
    org.bukkit.Location getLocation()
    Gets the location this effect will be displayed at
    java.util.UUID getOwnerUniqueId()
    Gets the owner of the effect's UUID
    ParticlePair getParticlePair()
    Gets the ParticlePair, which contains all spawn information about this fixed effect
    void setCoordinates​(double x, double y, double z)
    Updates the coordinates of the FixedParticleEffect

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 effect
      id - The id this effect has, unique to the owner pplayer
      location - The location to display the effect at
      particlePair - 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

      public ParticlePair 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 coordinate
      y - The new Y coordinate
      z - The new Z coordinate