Class SpigotParticleSpawner

java.lang.Object
dev.esophose.playerparticles.particles.spawning.ParticleSpawner
dev.esophose.playerparticles.particles.spawning.SpigotParticleSpawner

public class SpigotParticleSpawner
extends ParticleSpawner
  • Nested Class Summary

    Nested classes/interfaces inherited from class dev.esophose.playerparticles.particles.spawning.ParticleSpawner

    ParticleSpawner.ParticleColorException, ParticleSpawner.ParticleDataException
  • Constructor Summary

    Constructors 
    Constructor Description
    SpigotParticleSpawner()  
  • Method Summary

    Modifier and Type Method Description
    void display​(ParticleEffect particleEffect, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
    Displays a particle effect
    void display​(ParticleEffect particleEffect, ColorTransition colorTransition, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)
    Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center
    void display​(ParticleEffect particleEffect, ParticleColor color, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)
    Displays a single particle which is colored
    void display​(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
    Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center
    void display​(ParticleEffect particleEffect, org.bukkit.Material spawnMaterial, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
    Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center

    Methods inherited from class dev.esophose.playerparticles.particles.spawning.ParticleSpawner

    canSee, getPlayersInRange

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • display

      public void display​(ParticleEffect particleEffect, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
      Description copied from class: ParticleSpawner
      Displays a particle effect
      Specified by:
      display in class ParticleSpawner
      Parameters:
      particleEffect - The particle type to display
      offsetX - Maximum distance particles can fly away from the center on the x-axis
      offsetY - Maximum distance particles can fly away from the center on the y-axis
      offsetZ - Maximum distance particles can fly away from the center on the z-axis
      speed - Display speed of the particles
      amount - Amount of particles
      center - Center location of the effect
      isLongRange - If the particle can be viewed from long range
      owner - The player that owns the particles
    • display

      public void display​(ParticleEffect particleEffect, ParticleColor color, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)
      Description copied from class: ParticleSpawner
      Displays a single particle which is colored
      Specified by:
      display in class ParticleSpawner
      Parameters:
      particleEffect - The particle type to display
      color - Color of the particle
      center - Center location of the effect
      isLongRange - If the particle can be viewed from long range
      owner - The player that owns the particles
      size - The size of the particle
    • display

      public void display​(ParticleEffect particleEffect, org.bukkit.Material spawnMaterial, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
      Description copied from class: ParticleSpawner
      Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center
      Specified by:
      display in class ParticleSpawner
      Parameters:
      particleEffect - The particle type to display
      spawnMaterial - Material of the effect
      offsetX - Maximum distance particles can fly away from the center on the x-axis
      offsetY - Maximum distance particles can fly away from the center on the y-axis
      offsetZ - Maximum distance particles can fly away from the center on the z-axis
      speed - Display speed of the particles
      amount - Amount of particles
      center - Center location of the effect
      isLongRange - If the particle can be viewed from long range
      owner - The player that owns the particles
    • display

      public void display​(ParticleEffect particleEffect, ColorTransition colorTransition, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)
      Description copied from class: ParticleSpawner
      Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center
      Specified by:
      display in class ParticleSpawner
      Parameters:
      particleEffect - The particle type to display
      colorTransition - Color transition of the effect
      offsetX - Maximum distance particles can fly away from the center on the x-axis
      offsetY - Maximum distance particles can fly away from the center on the y-axis
      offsetZ - Maximum distance particles can fly away from the center on the z-axis
      amount - Amount of particles
      center - Center location of the effect
      isLongRange - If the particle can be viewed from long range
      owner - The player that owns the particles
      size - The size of the particles
    • display

      public void display​(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
      Description copied from class: ParticleSpawner
      Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center
      Specified by:
      display in class ParticleSpawner
      Parameters:
      particleEffect - The particle type to display
      vibration - Vibration of the effect
      offsetX - Maximum distance particles can fly away from the center on the x-axis
      offsetY - Maximum distance particles can fly away from the center on the y-axis
      offsetZ - Maximum distance particles can fly away from the center on the z-axis
      amount - Amount of particles
      center - Center location of the effect
      isLongRange - If the particle can be viewed from long range
      owner - The player that owns the particles