-
Bug
-
Resolution: Invalid
-
None
-
1.21
-
None
-
Unconfirmed
-
(Unassigned)
If we have an entity of arrow, just like
```
/summon minecraft:arrow ~ ~ ~
```
and we can find that the command does not work
```
/data merge entity @n[type=arrow] {item:{components:{"minecraft:potion_contents":{potion:"minecraft:unluck"}}}}
```
In fact, we can merge it in 1.20.4
```
/data merge entity @e[type=arrow] {custom_potion_effects:[
]}
```
and we can merge another effect in 1.21 except the unluck effect
```
/data merge entity @n[type=arrow] {item:{components:{"minecraft:potion_contents":{potion:"minecraft:night_vision"}}}}
```