mojira.dev
MC-304591

Spear charged attack triggers left-click interaction event of interaction entities

Related to the fix of MC-304095.

Steps to Reproduce:

  1. /summon interaction

  2. Get a spear.

  3. Charge the spear and run towards the interaction to perform a charge attack.

  4. /data get entity @n[type=interaction]

  5. The attack NBT field is filled. ❌

Expected Behavior:

According to 1.19.4 changelog, interaction entity is:

A new type of entity that records attacks ("left clicks") and interactions ("right clicks").

Charged attack should either trigger nothing or trigger right-click interaction event, because charged attack is triggered by right-click.

Observed Behavior:

Charged attack triggers left-click interaction event.

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

merak48763

(Unassigned)

Confirmed

(Unassigned)

1.21.11 Pre-Release 3

Retrieved