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

/execute tell does /tell as well for every entity the command is executed for

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 14w21b, Minecraft 1.8.2-pre1, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w31a, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w42a, Minecraft 1.12.1, Minecraft 18w03b, 1.15.2, 20w21a, 1.16.4, 20w48a, 21w05b, 1.19.1 Pre-release 4, 23w04a, 23w41a
    • None
    • Confirmed
    • Commands

      If you use the following command: "/execute @e ~ ~ ~ tell @p Test"
      it returns:
      "Entity whispers to you: Test
      You whisper to (Yourself): Test"
      so the Entity you specify tells you "Test"
      and you tell yourself "Test".


      Alternative explanation:

      If you execute the /tell command with an entity (/execute @e[type=Pig] ~ ~ ~ /tell @p ...)
      not only the entity whispers to you, you also whisper to yourself (e.g.:
      "Pig whispers to you..."
      and "You whisper to Zuzu_Typ ..."
      what I mean is:
      the specified player is the Pig (@e[type=Pig]) and NOT me.
      so I shouldn't be whispering to myself.


      Updated command for 1.15.2 and 1.16:
      /execute as @e[type=!player,limit=1] run tell @p Test

            Unassigned Unassigned
            Zuzu_Typ ZuzuTyp
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: