Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-211606

Vibration particle can only use absolute coordinates for destination

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w51a, 21w03a, 21w06a, 21w13a, 1.17.1, 21w42a, 21w44a, 1.18.1, 1.18.2, 22w11a, 22w12a, 22w14a, 22w15a, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.20.4, 23w51b, 1.21.4
    • None
    • Confirmed
    • Commands, Particles
    • Low
    • Platform

      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.

            Unassigned Unassigned
            Dhranios Dhranios
            Votes:
            22 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: