Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-159675

hasitem data= not working with armor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.10
    • Creative
    • Plausible
    • Multiple

      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.

            forestboy3333 forestboy3333
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: