-
Bug
-
Resolution: Invalid
-
None
-
23w07a, 1.19.4 Pre-release 1
-
Confirmed
-
Commands, Parity
The target parameter of /damage only accepts one entity, requiring you to use limit=1 or similar. This means that to damage multiple things, you need to use /execute, which has the following consequences:
- Worse performance as you are running N commands instead of just one
- You can't use the original @s in the by parameter: obvious use cases like /execute as @e[type=pufferfish] at @s run damage @a[distance=..5] 1 thorns by @s are impossible
This might be intended / feature request a la MC-121807 (it would be great if that one were changed too :/), but I think there are a couple reasons why this behavior is especially unexpected:
- Bedrock's /damage command supports multiple entities just fine
- /kill can apply damage to multiple entities just fine
- is duplicated by
-
MC-268997 The "/damage" command exclusively permits selectors targeting a single entity.
- Resolved