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

'function' does not do the 'execute' command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.12 Hotfix, 1.20.13 Hotfix
    • None
    • Unconfirmed
    • Android

      It used to be that the "execute" command works in the "mcfunction" file, but the thing that happened in my add-on is that it does not work.

       

      The command you wrote is as follows:

      "execute as @e[type=s:smithing_teble,r=1] at @s if entity @e[r=1] run fill ~ ~ ~ ~ ~ ~ smithing_table replace air"

      [s:smithing_teble=An entity created by me, ignoring an error in the word "teble" It should have been a "table."]

      expected command:
      When any entity approaches this entity "S:Smithing_Teble" it will build a "Smithing_Table" at the coordinates of the entity "S:Smithing_Teble" instead of air.

      the problem:
      The function does not work and an error message appears below

      note!!
      This only happens with the "execute" command.

            yasyn9934 yasyn9934
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: