So in my world I made some custom armor, and hasitem is working well. But the ANNOYING part is that I CAN'T USE DATA WITH ARMOR!! FIX THIS BUG ALREADY, IT'S BEEN GOING SINCE 1.18.30!!
How to see for yourself: 1.Grab a command block
2. Make it always active and repeat
3. Give yourself armor with data, example: /give @s diamond_boots 1 2
4. Type the command below in the Repeat and Always Active command block:
/execute @p[hasitem={item=diamond_boots,data=2,location=slot.armor.feet}] ~~~ effect @s speed 1 7 true
5. If you don't get speed, you've done it correctly.
- duplicates
-
MCPE-151920 The command does not evaluate the selector argument "hasitem" -> data.
- Reopened