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

execute on attacker don't track non-living entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4
    • Community Consensus
    • Data Packs

      The Bug

      no matter direct or indirect sources

      execute on attacker
      

      select nothing if it's marker, item, arrow, etc...

      however, armor_stand is selected

      How to Reproduce

      1. Load the datapack from attachment
      2. Drop an item and exeucte
        /damage @s 1 generic by @e[type=item,limit=1]
        

        The chat doesn't show anything (unexpected

      1. Instead placing an armor_stand and execute
        /damage @s 1 generic by @e[type=armor_stand,limit=1]
        

        The chat shows the armor_stand say hi (expected

        1. datapack.zip
          1.0 kB
        2. Relation visualation.zip
          2 kB
        3. MC-268691.mp4
          7.42 MB

            Unassigned Unassigned
            ccJerrycc ccJerrycc
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: