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

Incomplete commands do not prevent functions from loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w41a
    • 1.16.2, 1.16.4, 20w46a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05b, 1.18, 1.18.1, 1.19, 1.19.3, 23w07a
    • None
    • Confirmed
    • Commands

      Incomplete commands in functions are valid, and they also seem to contribute to the total number of commands, this is both visible by the response message, and by limiting maxCommandChainLength. For example, the following commands are not marked as incomplete in a function, and so you are still be able to run the function:

      advancement grant @s only
      clone ~ ~ ~
      tellraw @s
      effect give
      execute facing
      

            boq [Mojang] Bartosz Bok
            ErrorCraft ErrorCraft
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: