Table of Contents

minecraft:display_particle

The minecraft:display_particle action displays particles at a position in the world. This action is successful if any number of particles were spawned.

Fields

Name Description Type Default Value
position The position to target. An action context parameter
particle The particle to display. A particle
count The number of particles to display. A non-negative integer
offset The offset to apply to the position of the particles. An optional list of 3 double ranges [0.0, 0.0, 0.0]
delta The variation to give the positions of the particles. A list of 3 double ranges
speed The speed of the particles. A non-negative double
force Whether to always display the particle, regardless of the distance to the particle and the client's settings. An optional boolean false

Example

{
  "type": "minecraft:display_particle",
  "position": "target",
  "particle": {
    "type": "minecraft:smoke"
  },
  "count": 16,
  "offset": [
    {
      "min": -0.1875,
      "max": 0.1875
    },
    0.8125,
    {
      "min": -0.1875,
      "max": 0.1875
    }
  ],
  "delta": [
    0.0,
    0.0,
    0.0
  ],
  "speed": 0.0
}