Commands/particle

Creates particles.

Java Edition
 * Syntax

Bedrock Edition


 * Color added to make reading easier.


 * Arguments


 * effect (BE: effect: string)
 * Specifies the particle to create. Must be a particle name (for example, ). For Java Edition:


 * requires three color channel parameters to be set along with the name, representing red, green, and blue, each being a value in the range 0 to 1; and an additional parameter representing size. For example:  creates a pink particle at regular size.


 * and  require a block and an optional state as a parameter. For example:


 * requires an item name as a parameter. For example:


 * pos (BE: position: x y z ) (optional)
 * Specifies the position at which to create the particle. All values (including y) must be between -30,000,000 and 30,000,000 (inclusive, without the commas). May use tilde notation to specify a position relative to the command's execution.


 * delta (optional)
 * Specifies the size of the 3-dimensional cuboid volume to spawn particles in, centered on position pos, and multiplied by about 8 (using  specifies a cuboid of about 8×8×8 in size)


 * Exception 1: When name is  or , a count of 0 causes the delta and speed to act like RGBE values instead, ranging from 0.0 to 1.0.
 * Exception 2: When count is set to 0, the delta instead acts as motion values for the particle, with speed acting as a multiplier.,   and   instead becomes  ,   and   respectively.
 * Exception 3: When name is, a count of 0 causes   to act as a color modifier, with speed acting as a multiplier. Starts at green with the hue moving backward as this increments.
 * Exception 3: When name is, a count of 0 causes   to act as a color modifier, with speed acting as a multiplier. Starts at green with the hue moving backward as this increments.
 * Exception 3: When name is, a count of 0 causes   to act as a color modifier, with speed acting as a multiplier. Starts at green with the hue moving backward as this increments.


 * speed
 * Specifies the speed of the particle. Must be at least 0.


 * count
 * Specifies the number of particle effects to create. Must be at least 0 (which produces one particle).


 * mode (optional)
 * Specifies the display mode:  or  . Setting   allows the particle(s) to be seen up to 256 blocks away and by players that use the minimal particles setting.


 * viewers (optional)
 * Allows control of which player should view this particle instead of everyone in the viewing range of the particle.


 * Result


 * Fails if the arguments are not specified correctly.


 * On success, creates the specified particle.


 * Examples


 * Java Edition: To create a stationary huge explosion particle 10 blocks to the east:
 * Bedrock Edition: To create a stationary huge explosion particle 10 blocks to the east:
 * Bedrock Edition: To create a stationary huge explosion particle 10 blocks to the east:

History
Befehl/particle 命令/particle