mojira.dev
MC-268997

The "/damage" command exclusively permits selectors targeting a single entity.

The "/damage" command is restricted to damaging only one entity per command, which presents challenges when using the "by <entity>" parameter. This limitation necessitates additional, potentially unnecessary logic when attempting to damage multiple entities with the same source. If there were no such restriction, a simple execute command targeting the entity following "by" could suffice, using "@s" afterward. Presently, resorting to tagging becomes necessary to achieve similar outcomes. This issue is connected to MC-121807.

Linked issues

Comments 3

MC-121807 is resolved as Working as Intended, it is likely the case for this issue too. Either that, or this is a change request. The command specifically states "only one target selector allowed . . ."

Yes, that's exactly what I am reporting.

Thank you for your report!
We're tracking this issue in MC-259967, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

1.20.4, 24w09a

Retrieved