Class Renderers.Standard
java.lang.Object
com.github.darksoulq.abyssallib.world.particle.impl.Renderers.Standard
- All Implemented Interfaces:
ParticleRenderer
- Enclosing class:
Renderers
A standard renderer that uses Bukkit's
Particle API.
Supports both static points and velocity-based points via MotionVector.
-
Constructor Details
-
Standard
Constructs a new Standard renderer.- Parameters:
particle- TheParticletype.count- Particle count per point.speed- Particle speed.data- Extra particle data.
-
-
Method Details
-
render
public void render(org.bukkit.Location center, List<org.bukkit.util.Vector> points, List<org.bukkit.entity.Player> viewers) Spawns particles for each calculated vector.- Specified by:
renderin interfaceParticleRenderer- Parameters:
center- The central origin location.points- The list of vectors to render.viewers- The list of players who can see the particles.
-