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

No attack event happens when there are multiple possible targets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1
    • None
    • Unconfirmed
    • (Unassigned)

      Steps to reproduce:
      0 - Be on flat ground and in survival or adventure mode.
      1 - /summon minecraft:interaction ~ ~ ~ {width:3.0f, height:3.0f}
      2 - /summon husk ~ ~ ~3.8 {NoAI:1b,Silent:1b}
      3 - /tp @s ~ ~ ~ 0 0 and left click

      What I expected would happen:
      either the interaction entity or the husk would get hit

      What actually happened:
      no attack event has occured - husk didn't get hit and interaction did not register an attack
      (Can be checked by running /data get entity @e[type=minecraft:interaction,sort=nearest,limit=1] attack)

            Unassigned Unassigned
            神的創世神 ANTHINY609
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: