Package com.ranull.graves.manager
Class ParticleManager
java.lang.Object
com.ranull.graves.manager.ParticleManager
Spawns particles to graves.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Field Details
-
plugin
-
cooldowns
-
-
Constructor Details
-
ParticleManager
-
-
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.
-