Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-177652

1.19.70's execute command in Minecraft bedrock doesn't work in functions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.51 Hotfix
    • None
    • Unconfirmed
    • Multiple

      Whenever I try to put in a new /execute command function in my addon, it just shows up as a syntax error. Could you please fix this inconsistency and make it possible for the new 1.19.70 execute command to work in Minecraft Bedrock's functions. How I would like this fixed is that the function's system would run the new execute commands alongside the old ones. I have no idea if this is possible, but adding in a way to use these new /execute commands would be a great way to improve real-time developing of addons. 

      If you have no idea what I mean, here is an example. 

      New Execute command: execute at @e[type=armor_stand] run effect @p[r=3] invisibility 60 1 true

      As you may have guessed, the command above does NOT work in functions, and it shows up as a syntax error. Even though command blocks have been changed to accept these syntaxes, functions have no such ability at the moment, and that is really annoying to modern addon makers. 

      Old Execute command: execute @e[type=armor_stand] ~ ~ ~ effect @p[r=3] invisibility 60 1 true

      As you probably already know, the command above DOES work in functions, but it is outdated. You may have put it this way since a lot of addons would break if /execute commands were to be changed from this, but having the option to pick and choose from the old and the new would be a very welcome change. Also to point out the inconsistency, this version of the /execute command does NOT work in command blocks, but it does work in functions. 

      Please fix this inconsistency, in the next hotfix, if you could. it would be a welcome change to addon makers if they could use the current information to make their addons. 

            AWESOMEPRO3912 AWESOMEPRO3912
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: