Throw damage event for every damage type on Interaction entity #10586
Replies: 3 comments
-
It seems like this is intentional, the snapshot article introducing interaction entities mentions that they "records attacks ("left clicks") and interactions ("right clicks")." Though it is interesting that the NBT for left clicking is "attack" which somewhat implies that other attacks would work. MC-260763 points out these discrepancies, however it looks like Mojang has not taken a stance on it yet. |
Beta Was this translation helpful? Give feedback.
-
So no chance to find something in paper that allows to use interaction entities in this way? Even just a boolean in the entity? |
Beta Was this translation helpful? Give feedback.
-
The mojang issue has been closed as "Works As Intended" so I think that they have taken a stance at this point. It would be super great to re-visit this now, and ideally simulate the rest of these events on the entity. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem?
Many types of damage can't be detected for the Interaction entity.
Describe the solution you'd like.
Currently the EntityDamageEvent event for the Interaction entity is only thrown if a player hits the entity. I ask that the event be thrown also in all other cases of damage (explosions, arrows...).
Describe alternatives you've considered.
Use another entity together with the Interaction entity to receive these EntityDamageEvents, but still not suitable for many situations
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions