Package ch.njol.skript.bukkitutil
Class ParticleUtils
java.lang.Object
ch.njol.skript.bukkitutil.ParticleUtils
Utility class for
Particles
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the Minecraft name of a particlestatic String
Returns a string for docs of all names of particlesstatic @Nullable Particle
Parse a particle by its Minecraft namestatic void
spawnParticle
(@NotNull Particle particle, @Nullable Player[] players, @NotNull Location location, int count, Object data, Vector offset, double extra, boolean force)
-
Field Details
-
HAS_TRAIL
public static final boolean HAS_TRAIL
-
-
Method Details
-
getNamesAsString
Returns a string for docs of all names of particles- Returns:
- Names of all particles in one long string
-
getName
Get the Minecraft name of a particle- Parameters:
particle
- Particle to get name of- Returns:
- Minecraft name of particle
-
parse
Parse a particle by its Minecraft name- Parameters:
key
- Minecraft name of particle- Returns:
- Bukkit particle from Minecraft name (null if not available)
-
spawnParticle
-