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

Functions not running in single tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 18w02a
    • None
    • Windows 10
    • Unconfirmed

      It seems as though functions and other things are happening in a strange order compared to 1.12.

      If I had a function that had 2 commands in it:

      /execute as @e[type=item,tag=] at @s run setblock ~1 ~ ~ air destroy
      /execute as @e[type=item,tag=] at @s run data merge entity @s {Tags:["Tagged"]}
      

      Both the entity that currently is on the ground and the one just broken get a tag, and if this is run again the chain no longer continues.

      Expected Behavior:
      Only the first entity is given a tag, than the function finished and the item is created, allowing the next item to run the execute command.

            Unassigned Unassigned
            jirauser54679 user-2a4c8 (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: