Class ParticleManager

java.lang.Object
com.ranull.graves.manager.ParticleManager

public class ParticleManager extends Object
Spawns particles to graves.
  • Field Details

  • Constructor Details

    • ParticleManager

      public ParticleManager(Graves plugin)
  • Method Details

    • startParticleTrail

      public void startParticleTrail(org.bukkit.Location startLocation, org.bukkit.Location endLocation, org.bukkit.Particle particleType, int count, double speed, long durationTicks, UUID playerUUID)
      Plays a particle trail to the end destination.
      Parameters:
      startLocation - The start location.
      endLocation - The end location.
      particleType - The particle to spawn.
      count - How many particles should spawn.
      speed - The speed the particles take in the direction from startLocation to endLocation.
      durationTicks - The duration, in ticks, that the particle trail will last for.
      playerUUID - The UUID of the player triggering the effect.