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
target
target position
target={x=...;y=...;z=...}
pos={x={x};y=2;z={z}}
*
*
duration
duration in ticks
duration=<INTEGER>
duration=32
, duration={duration}
*
*
Examples
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.
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 theduration
variable.
Last updated