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

Entity selector y and dy do not work in tick/load file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17.1, 21w37a
    • None
    • Windows 10
    • Unconfirmed
    • (Unassigned)

      Ticking/load function files that use y and dy do not properly run.

      Command in functions

      Keep in note that this issue only affects functions that are running via tick.json or load.json

      tellraw @a[y=-64,dy=319] {"text":"WORKED"}

      Steps to Reproduce:
      1. Download the example datapack below.

      2. Install the example datapack in any world.

      3. Run /reload to reload the data pack.

      4. Manually run the function with the command using /function dp:run

      Observed Results:

      • main_tick and main_load functions do not run the command with y and dy
      • Manually running the function works.

      Expected Results:

      main_tick and main_load will work the same as manually running the command.

            Unassigned Unassigned
            Legopitstop Legopitstop
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: