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

behavior /functions pack deny correct command formats.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.12 Hotfix
    • None
    • Unconfirmed
    • Windows

      miscellaneous: some functions in behavior pack are loaded successfully.

      (1).

      original command that works well in the chat: 
      execute as @e[scores=\{team=1}] run scoreboard players set red_has_player team 1

      (Note: the sign '\' above is automatically enforced by this website chatbox)

      Feedback after inserting the command above into /functions
      [Commands][warning]-Function scoreboard/team/test_player_team failed to load correctly with error(s):
      [Commands][warning]-Error on line 1: command failed to parse with error 'Syntax error: Unexpected "@e": at "xecute as >>@e<<[scores={t"'
      [Commands][warning]-Error on line 2: command failed to parse with error 'Syntax error: Unexpected "@e": at "xecute as >>@e<<[scores={t"'
      [Commands][warning]-Function villagers/load_villagers_for_all failed to load correctly with error(s):

      (2).

      original command that works well in the chat: 
      summon villager 49 25 215 180 0 minecraft:become_mason

      Feedback after inserting the command above into /functions
      [Commands][warning]-Error on line 1: command failed to parse with error 'Syntax error: Unexpected "180": at "49 25 215 >>180<< 0 minecra"'

      [Commands][warning]-Function villagers/load_villagers_for_red failed to load correctly with error(s):

            ACMELanceNet Zl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: