The bug
If an entity based on interacting with hitboxes doesn't have any velocity anymore (for example with the NoGravity
tag and flying long enough) they don't seem to interact with hitboxes anymore.
How to reproduce
Set up and activate a repeating command block with the following command:
execute as @e run data merge entity @s {NoGravity:1b}
Throw a bottle o' enchanting
Follow it until it doesn't have any velocity anymore
Touch it. You will notice that it doesn't break as it should.
Confirmed.