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

block item aren't fully supported by hasitem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.10.22 Preview, 1.18.20.23 Beta, 1.19.0
    • None
    • Unconfirmed
    • Multiple

      block item's data values aren't supported by newly added hasitem target selector, which means we can't target green wool, stone solely

      How to reproduce:

      • hold a green wool
      • run command
      /testfor @s[hasitem={item=wool,data=15} ]
      
      •  you can target yourself

      Expected:

      • you can't target yourself because green wool's data value isn't 15

            Chixvv Dl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: