Particle Spawn (Effect) — SkBee

Addon: SkBee · Category: Effect · Since: 1.9.0

Syntax

(lerp|draw|make) %number% [of] %minecraftparticle% [particle] [using %-object%] %directions% %locations% [with (delta|offset) %-vector%] [with extra %-number%] [(with force)] [(for|to) %-players%]

Description

Spawn a [**particle**](https://skripthub.net/docs/?id=14494). This system is more inline with how Bukkit deals with particles, hence the choices in the pattern. Some particles may be affected differently by these values, so let's break them down: `first number` = count, how many particles to spawn at once. (use '0' if you notice the particle kinda flies away.) `particle` = the particle to spawn. `using` = the data used for this particle (some particles like 'block', 'item' and 'dust' require more data). `location` = where you are going to spawn the particle. `delta` = a vector with the maximum random offset. The position of each particle will be randomized positively and negatively by the offset parameters on each axis. Some particles use the delta to set color/direction if count is set to 0. `extra` = the extra data for this particle, depends on the particle used (normally speed). `force` = whether to send the particle to players within an extended range and encourage their client to render it regardless of settings (this only works when not using `for player[s]`) (default = false) `for %players%` = will only send this particle to a player, not the whole server.

Examples

make 3 of item particle using diamond at location of player
make 1 of block particle using dirt at location of target block
make 10 of poof at player with offset vector(2, 2, 2) with extra 0.5
draw 20 of dust using dustOption(blue, 10) at location above target block
draw 1 of dust_color_transition using dustTransition(blue, green, 3) at location of player
draw 1 of vibration using vibration({loc1}, {loc2}, 1 second) at {loc1} with force
make 0 of shriek using 1 above target block of player
make 1 of sculk_charge using 0.1 at {_loc} with force

View source