hasitem does not read data values
- Partner Rank
- 3
- Partner Team Reporting
- Builders Horizon
- Verification builds
- 1.19.73
- Summary
- The command "hasitem" selector does not evaluate the data value supplied.
- Impact
- We are unable to evaluate if players have items with data values in their inventory without huge 200+ line functions.
- Repro Steps
- Step 1: Run /give @s stained_glass 1 5
- Step 2: RunĀ /say @a[hasitem=\{item=stained_glass,data=14}]
- Repro Rate
- 100% reproduction rate.
- Observed Results
- The player's name is outputted in chat.
- Expected Results
- The command throws an error as no player in the world has Red Stained glass, only Lime Stained Glass.
- Screenshots / Videos attached: No
- Regression Builds
- Not known to be working before