-
Bug
-
Resolution: Duplicate
-
None
-
1.21 Pre-Release 2
-
None
-
Windows 11,Java 21
-
Unconfirmed
There may be a problem with the target selector towards arrows contained in a team.
What I expected to happen was...:
Ater typing /execute @e[type=spectral_arrow,nbt=\{inGround:1b},team=red] at @s run tellraw @a "got" ,"got" is printed on chatboard
What actually happened was...:
Nothing happen after typing.However,it works when the target selector only contains "type=spectral_arrow","nbt={inGround:1b},or both.Inferring that maybe the problem comes from viriable of teams?
Steps to Reproduce:
1. Typing /execute @e[type=spectral_arrow,nbt=\{inGround:1b},team=red] at @s run tellraw @a "got",nothing happened
2. Typing /execute @e[type=spectral_arrow,nbt=\{inGround:1b}] at @s run tellraw @a "got",works
3. Typing /execute @e[type=spectral_arrow] at @s run tellraw @a "got",works
4. Typing /execute @e[nbt=\{inGround:1b}] at @s run tellraw @a "got",works
- duplicates
-
MC-108495 Non-LivingBase entities can be on a team (and show color) but can't be targeted using team=
- Open