mojira.dev
MC-211606

Vibration particle can only use absolute coordinates for destination

In /particle, vibrations have extra fields for determining the destination:

particle minecraft:vibration{arrival_in_ticks:INT,destination:{type:"block",pos:[DOUBLE,DOUBLE,DOUBLE]}}

The position, however, is limited to absolute coordinates, neither relative nor local coordinates work. This is making this particle basically useless in command systems, as they can only go from one position to another hardcoded position, not a position relative to the execution location or an entity.

With the addition of macro arguments in functions in 1.20.2, these particles can actually be moved to relative positions by using some scoreboard math, however for command blocks and chat-run commands, this is not available still.

Linked issues

Comments 12

Confirmed for 21w44a

Confirmed for 21w44a

Can confirm in 1.18.2 and 22w11a.

2 more comments

Can confirm in 1.20.1


Reply from @unknown:
Please do not confirm tickets for outdated versions. We are currently only accepting confirmations for 1.20.4 and 23w51b.

Can confirm in 1.20.1


Reply from @unknown:
Please do not confirm tickets for outdated versions. We are currently only accepting confirmations for 1.20.4 and 23w51b.

The format for this has completely been changed, now also supporting entity targets:

/particle minecraft:vibration{arrival_in_ticks:20,destination:{type:"block",pos:[0.0d,0.0d,0.0d]}}
/particle minecraft:vibration{arrival_in_ticks:20,destination:{type:"entity",source_entity:[I;0,0,0,0]}}}}

However, the second command is not allowed according to the parser (despite giving syntax hints about needing source_entity), I'll make a separate report for that.

The block syntax still does not support relative/local coordinates though.

Still in 1.21.4. See also previous comment for updated command syntax. 

Also, relates to MC-277485 (entity argument not functional). 

user-f2760

Dhranios

(Unassigned)

Confirmed

Platform

Low

Commands, Particles

20w51a, 21w03a, 21w06a, 21w13a, 1.17.1, ..., 1.20.2, 23w43b, 1.20.4, 23w51b, 1.21.4

Retrieved