data values aren't supported fully by hasitem
Newly added hasitem target selector does't process data values in some conditions.
Using [hasitem=\{item=potion}] can only target water bottle, instead of targeting all potions. And commands like /me @s[hasitem=\{item=potion}] directly crash the game
How to reproduce 1:
- hold a potion item (not a water bottle)
- run command /testfor @s[hasitem=\{item=potion}]
- you can't find yourself
Expected:
- you can target yourself because you have a potion.
How to reproduce 2:
- hold a potion item (not a water bottle)
- run command /me [hasitem=\{item=potion}]
- Game crashes
Expected:
- you can target yourself because you have a potion.
block item's data values aren't supported, which means we can't target green wool, stone solely
2022-02-09, 09:39 AM
2024-07-04, 10:53 PM
2022-05-05, 03:13 PM
1
2
-