Targeted Particle

This page was last updated for version v1.4.1

Format

target-particle [args] or target [args]

Description

It works similarly to Single Particle but has 2 new arguments. Particles with target option can only be spawned with this script.

All the arguments in Single Particle also apply to this.

Supported Particles

  • trail

  • vibration

Arguments

Arg

target

Description

target position

Format

target={x=...;y=...;z=...}

Example(s)

pos={x={x};y=2;z={z}}

Default Value

*

Required
Aliases

*

Arg

duration

Description

duration in ticks

Format

duration=<INTEGER>

Example(s)

duration=32, duration={duration}

Default Value

*

Required
Aliases

*

Examples

  1. target [effect=minecraft:trail,pos={y=1},duration=20,color=#ffffff]

Single white trail particle, the particle will move in y-axis by 1 in 20 ticks.

  1. target [effect=minecraft:vibration,duration={duration},pos={x={RANDOM-};y={RANDOM-};z={RANDOM-}}]

Single vibration particle, the particle will move randomly, the duration will be determined by the duration variable.

Last updated