This feature is exclusive to Java Edition.
Commands/infobox
Creates particles.
- Syntax
Java Edition
particle <name> <x> <y> <z> [<xd> <yd> <zd>] [<speed>] [<count>] [<mode>] [<player>]
Bedrock Edition
particle <name: string> <position: x y z> <size: x y z> <speed: float> [count: int]
- Color added to make reading easier.
- Arguments
- name (BE: name: string)
- Specifies the particle to create. Must be a particle name (for example,
explosion).
- Specifies the particle to create. Must be a particle name (for example,
dustrequires 4 color channel parameters to be set along with the name, representing red, green, blue and alpha, each being a value in the range 0 to 1. For example:/particle dust 1.0 0.5 0.5 1.0creates a pink particle at full opacity.
blockandfalling_dustrequire a block and an optional state as a parameter. For example:/particle block minecraft:grass_block[snowy=true]
itemrequires an item name as a parameter. For example:/particle item minecraft:apple
- x y z (BE: position: x y z)
- 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.
- xd yd zd (BE: size: x y z) (optional[Java Edition only])
- Specifies the size of the 3-dimensional cuboid volume to spawn particles in, centered on position x y z, and divided by about 8 (using
1 1 1specifies a cuboid of about 8×8×8 in size).
- Specifies the size of the 3-dimensional cuboid volume to spawn particles in, centered on position x y z, and divided by about 8 (using
- Exception:[Bedrock Edition only] When name is
reddust,mobSpell, ormobSpellAmbientand speed is not 0, and count is 0 or not specified, these values are set as the RGB channel values of the color of the particle, and are specified in the range 0 to 1. In this usage, the speed parameter acts as a multiplier on these values. If count is greater than 0 for those particles, xd yd zd are treated as a 3-dimensional volume as usual, rather than as a color, and randomized colors are used.- With
mobSpellormobSpellAmbient,0 0 0produces a black particle for example,0 1 0produces a green particle, and0 0 0.5produces a dark blue particle, etc. - The
reddustparticle's RGB channels behaves differently:
- With
- Exception:[Bedrock Edition only] When name is
| reddust | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- speed (BE: speed: float) (optional[Java Edition only])
- Specifies the speed of the particle. Must be at least 0.
- count (BE: count: int) (optional)
- Specifies the number of particle effects to create. Must be at least 0 (which produces one particle).
- mode (optional) [Java Edition only]
- Specifies the display mode:
normalorforce. Settingforcewill allow the particle(s) to be seen up to 256 blocks away and by players that use the minimal particles setting.
- Specifies the display mode:
- player (optional) [Java Edition only]
- Allows control of which player should view this particle instead of everyone in the viewing range of the particle.
- params (optional) [Java Edition only]
- Allows
blockdust,iconcrack,blockcrackandfallingdustto be modified to view a specific item or block. Two parameters are accepted foriconcrack.
- Allows
- For
blockdust,blockcrackandfallingdust, the params argument specifies a numeric ID (block only) and a data value, using a single number: id+(data×4096).
- For
- Result
- Fails if the arguments are not specified correctly.
- On success, creates the specified particle.
- Examples
- To create a stationary huge explosion particle 10 blocks to the east:
particle explosion_emitter ~10 ~ ~ 0 0 0 0