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

@a , @p , and @e[type=player] don't work in execute command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w45a
    • None
    • Unconfirmed

      1.Teleport to x=101,y=11,z=101.

      2.Type"/execute as @a[x=100,y=10,z=100,distance=..5] run say 123", "/execute as @p[x=100,y=10,z=100,distance=..5] run say 123", or "/execute as @e[type=player,x=100,y=10,z=100,distance=..5] run say 123".

      It says "No entity was found".

      But if I type "/execute as @e[x=100,y=10,z=100,distance=..5] run say 123", it works.

            Unassigned Unassigned
            jellywayne jellywayne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: