Class ParticleExplosion

java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.ParticleExplosion
All Implemented Interfaces:
IParticle, SizeableParticle

public class ParticleExplosion extends Particle implements SizeableParticle
  • Field Details

    • size

      protected double size
  • Constructor Details

    • ParticleExplosion

      public ParticleExplosion(double size, double offsetX, double offsetY, double offsetZ, int count)
    • ParticleExplosion

      public ParticleExplosion(double size, double offsetX, double offsetY, double offsetZ)
    • ParticleExplosion

      public ParticleExplosion(double offsetX, double offsetY, double offsetZ, int count)
    • ParticleExplosion

      public ParticleExplosion(double offsetX, double offsetY, double offsetZ)
    • ParticleExplosion

      public ParticleExplosion(double size, int count)
    • ParticleExplosion

      public ParticleExplosion(double size)
    • ParticleExplosion

      public ParticleExplosion(int count)
    • ParticleExplosion

      public ParticleExplosion()
  • Method Details

    • inherit

      public ParticleExplosion inherit(Particle particle)
      Specified by:
      inherit in interface IParticle
      Specified by:
      inherit in interface SizeableParticle
      Overrides:
      inherit in class Particle
      Parameters:
      particle - particle for this object to copy data from
      Returns:
      this object
    • clone

      public ParticleExplosion clone()
      Specified by:
      clone in interface IParticle
      Specified by:
      clone in interface SizeableParticle
      Specified by:
      clone in class Particle
    • getXYZ

      protected org.bukkit.util.Vector getXYZ(org.bukkit.Location location)
      Description copied from class: Particle
      Meant to be overridden by child classes to modify the X/Y/Z values of the packet sent to the player.
      Overrides:
      getXYZ in class Particle
      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: Particle
      Meant to be overridden by child classes to modify the offset values of the packet sent to the player.
      Overrides:
      getOffsets in class Particle
      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: Particle
      Meant to be overridden by child classes to modify the speed value of the packet sent to the player.
      Overrides:
      getPacketSpeed in class Particle
      Returns:
      the modified speed value
    • getPacketCount

      protected int getPacketCount()
      Description copied from class: Particle
      Meant to be overridden by child classes to modify the count value of the packet sent to the player.
      Overrides:
      getPacketCount in class Particle
      Returns:
      the modified count value
    • setSize

      public void setSize(double size)
      Specified by:
      setSize in interface SizeableParticle
    • getSize

      public double getSize()
      Specified by:
      getSize in interface SizeableParticle