Uses of Class
com.destroystokyo.paper.ParticleBuilder
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of ParticleBuilder in com.destroystokyo.paper
Modifier and TypeMethodDescriptionParticleBuilder.allPlayers()
Sends this particle to all players in the world.ParticleBuilder.color
(int r, int g, int b) Sets the particle Color.Sets the particle Color.Sets the particle Color and size.ParticleBuilder.count
(int count) Sets the number of particles to spawnParticleBuilder.data
(T data) Sets the particle custom data.ParticleBuilder.extra
(double extra) Sets the particle extra data.ParticleBuilder.force
(boolean force) Sets whether the particle is forcefully shown to the player.Sets the location of where to spawn the particleSets the location of where to spawn the particleParticleBuilder.offset
(double offsetX, double offsetY, double offsetZ) Sets the particle offset.Changes what particle will be sentParticleBuilder.receivers
(int radius) Selects all players within a cuboid selection around the particle location, within the specified bounding box.ParticleBuilder.receivers
(int radius, boolean byDistance) Selects all players within the specified radius around the particle location.ParticleBuilder.receivers
(int xzRadius, int yRadius) Selects all players within a cuboid selection around the particle location, within the specified bounding box.ParticleBuilder.receivers
(int xzRadius, int yRadius, boolean byDistance) Selects all players within the specified radius around the particle location.ParticleBuilder.receivers
(int xRadius, int yRadius, int zRadius) Selects all players within a cuboid selection around the particle location, within the specified bounding box.ParticleBuilder.receivers
(@Nullable Collection<Player> receivers) Sets the source of this particle for visibility concerns (Vanish API)ParticleBuilder.spawn()
Sends the particle to all receiving players (or all). -
Uses of ParticleBuilder in org.bukkit