Package | Description |
---|---|
com.destroystokyo.paper | |
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Method and Description |
---|---|
ParticleBuilder |
ParticleBuilder.allPlayers()
Sends this particle to all players in the world.
|
ParticleBuilder |
ParticleBuilder.color(Color color)
Sets the particle Color.
|
ParticleBuilder |
ParticleBuilder.color(int r,
int g,
int b)
Sets the particle Color.
|
ParticleBuilder |
ParticleBuilder.count(int count)
Sets the number of particles to spawn
|
<T> ParticleBuilder |
ParticleBuilder.data(T data)
Sets the particle custom data.
|
ParticleBuilder |
ParticleBuilder.extra(double extra)
Sets the particle extra data.
|
ParticleBuilder |
ParticleBuilder.force(boolean force)
Sets whether the particle is forcefully shown to the player.
|
ParticleBuilder |
ParticleBuilder.location(Location location)
Sets the location of where to spawn the particle
|
ParticleBuilder |
ParticleBuilder.location(World world,
double x,
double y,
double z)
Sets the location of where to spawn the particle
|
ParticleBuilder |
ParticleBuilder.offset(double offsetX,
double offsetY,
double offsetZ)
Sets the particle offset.
|
ParticleBuilder |
ParticleBuilder.particle(Particle particle)
Changes what particle will be sent
|
ParticleBuilder |
ParticleBuilder.receivers(Collection<Player> receivers) |
ParticleBuilder |
ParticleBuilder.receivers(int radius)
Selects all players within a cuboid selection around the particle location, within the specified bounding box.
|
ParticleBuilder |
ParticleBuilder.receivers(int radius,
boolean byDistance)
Selects all players within the specified radius around the particle location.
|
ParticleBuilder |
ParticleBuilder.receivers(int xzRadius,
int yRadius)
Selects all players within a cuboid selection around the particle location, within the specified bounding box.
|
ParticleBuilder |
ParticleBuilder.receivers(int xzRadius,
int yRadius,
boolean byDistance)
Selects all players within the specified radius around the particle location.
|
ParticleBuilder |
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 |
ParticleBuilder.receivers(List<Player> receivers) |
ParticleBuilder |
ParticleBuilder.receivers(Player... receivers) |
ParticleBuilder |
ParticleBuilder.source(Player source)
Sets the source of this particle for visibility concerns (Vanish API)
|
ParticleBuilder |
ParticleBuilder.spawn()
Sends the particle to all receiving players (or all).
|
Modifier and Type | Method and Description |
---|---|
ParticleBuilder |
Particle.builder()
Creates a
ParticleBuilder |
Copyright © 2021. All rights reserved.