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)
Linked issues
Attachments
Comments 4
@@unknown
You need to be in adventure or survival mode for it to happen. make sure to not move at all between the steps!
When trying to confirm this myself by following the provided steps, I found that you can't attack the husk because it's out of your attack range, not because of the interaction entity:
[media]
The interaction entity is not attacked due to MC-260305
can confirm in 1.20