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

Entity targeted by frogs and axolotls can't be detected by /execute on target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.5 Pre-Release 1
    • 1.20.1
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      Summary:
      Frogs and axolotls don't target the entity they want to attack.

      Steps to reproduce:
      frog:

      1. Get a spawn egg using:
        /give @p slime_spawn_egg{EntityTag:{Size:0}} 1
      2. /setblock ~ ~-1 ~ repeating_command_block{auto:1b,Command:"/execute as @e[type=minecraft:frog] on target run say hi"}
      3. Spawn a frog.
      4. Spawn the small slime.

      axolotl:

      1. /setblock ~ ~-1 ~ repeating_command_block{auto:1b,Command:"/execute as @e[type=minecraft:axolotl] on target run say hi"}
      2. Spawn an axolotl.
      3. Spawn a drowned/tropical fish.

      Observed results:
      The message "Hi" does not appear in the chat.

      Expected results:
      Frogs and axolotls will target an entities and the message "Hi" will appear in the chat.

            gegy1000 [Mojang] Gegy
            EVGENSYPERPRO [Helper] EVGENSYPERPRO
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: