Skip to content

Spiral Effect

Spiraling effect, progressing around and down a cylinder.

{
"type": "SPIRAL",
"particle": {
"type": "minecraft:happy_villager"
},
"speed": 1,
"start_delay": 0,
"end_delay": 0,
"offset": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"radius": 1.0,
"points": 20,
"turns": 1,
"height": 2.0,
"phase": 0.0,
"clockwise": true,
"reverse": true,
"strands": 1,
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}

All Particle Effect Types inherit a base set of options. See Particle Effect Options for more information.

The radius of the spiral.

"radius": 1.0

The number of points to display per strand.

"points": 20

The number of turns/rotations the spiral makes around the cylinder.

"turns": 1

The height of the spiral in blocks.

"height": 2.0

The starting angular offset of the spiral in radians.

"phase": 0.0

Whether the spiral rotates clockwise or counter-clockwise.

"clockwise": true

Whether the spiral moves from top to bottom (true) or bottom to top (false).

"reverse": true

The number of strands to display in the spiral. All strands will be evenly spaced around the cylinder.

"strands": 1

The rotation of the entire circle effect around each axis (in degrees).

"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}