Mojira Archive
MC-268691

execute on attacker don't track non-living entities

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

Unresolved

ccJerrycc

2024-02-20, 11:45 AM

2024-03-09, 03:34 PM

1

2

Community Consensus

Data Packs

execute

1.20.4

-