The number of particles that are displayed in the effect.
Integer
5
radius
Since 4.0 Beta 13. Particles are only shown to players in that radius.
Integer
50
speed
The speed of the particle
Double
0.2
horiz-spread
Defines how much the particle is spread horizontally.
Double
0.2
vert-spread
Defines how much the particle is spread vertically.
Double
0.2
x-spread
X axis spread. Takes priority over horiz-spread.
Double
horiz-spread
y-spread
Y axis spread. Takes priority over vert-spread.
Double
vert-spread
z-spread
Z axis spread. Takes priority over horiz-spread.
Double
horiz-spread
force
Whether to send the particle to players within an extended range and encourage their client to render it regardless of settings. Normally it's within 32 blocks, with this enabled it's within 512 blocks.
Some particles have exceptions to how the above values are used in order to configure their custom data:
entity_effect & ambient_entity_effect:
Coloring these particles requires:
count: 0 - It'll then only spawn one particle. If you need to spawn more, you'll have to make the effect play multiple times, probably by using a Dummy Buff spell, and having the effect on the buff position, controlling the duration of the particles with the buff's duration, and the interval with the buff position's effect-interval: <ticks>.
speed - Used to act like values instead of RGBE, where speed acts like an exponent that makes colors brighter or dimmer. The default for this is 128.
x/y/z-offset will be used to control the color as (red, green, and blue) colors respectively. Values must be up to 1.0. This means that the value should be color/255.
Example below. Note that since 4.0 Beta 13, you don't have to calculate the color as the equation will be understood and calculated by MS. You can find a color picker here - set the red, green, and blue values to the RGB color values.
particle-name: entity_effectcount: 0speed: 1x-spread: red / 255y-spread: green / 255z-spread: blue / 255
note:
Coloring these particles requires:
count: 0 - It'll then only spawn one particle. See above for a way to spawn more.
speed: 1 - Used as a multiplier for colors.
x-spread will be used to control the color. Must be up to 1.0. There are 24 notes and their colors, so the color value should be note/24.
y-spread: 0
z-spread: 0
Example below. Note that since 4.0 Beta 13, you don't have to calculate the color as the equation will be understood and calculated by MS.