Mojira Archive
MC-237092

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

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.

Invalid

Legopitstop

2021-09-19, 12:51 AM

2021-10-03, 01:49 AM

2021-10-03, 01:49 AM

0

2

Unconfirmed

(Unassigned)

1.17.1, 21w37a

-