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

Item Tags Aren't Queried In Clients Resource Pack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.10.23 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.54 Beta, 1.17.0.52 Beta, 1.17.0.50 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.210.59 Beta, 1.16.210.58 Beta, 1.16.210.57 Beta, 1.16.210.56 Beta, 1.16.210.55 Beta, 1.16.210.54 Beta, 1.16.210.53 Beta, 1.16.210.51 Beta, 1.16.210.50 Beta, 1.16.200.57 Beta, 1.16.200.56 Beta, 1.16.200.55 Beta, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.18.2 Hotfix, 1.18.30.33 Preview, 1.18.12 Hotfix, 1.19.20.24 Preview, 1.19.11 Hotfix, 1.19.63, 1.20.50.22 Preview, 1.20.50.23 Preview, 1.20.41 Hotfix
    • Confirmed
    • Multiple
    • 528155

      When attempting to use 'query.equipped_item_any_tag' or 'query.equipped_item_all_tags' in resource pack files. The queries only work for the host, clients will only see what would happen if the query returned false.

      In the screenshots below, an animation is being run from the players resource file to remove the 2D item from the right hand when a tagged item is being held, works for the host but not for the client.

      Steps to Reproduce:

      1. Download, install and start a new world with the supplied pack (experimental features on)
      2. Find the 'apple' item in the equipment tab (or give yourself the grunt:transform_item' item using the give command)
      3. Hold the item in your hand (DO NOT USE IT, IT WILL CRASH THE GAME) and you will begin to quarter turn over and over
      4. Get someone else in your world (tested with Windows 10 host and Xbox One Client)
      5. The Client won't see you spinning

      Expected Results:

      • Item tags are able to be queried in clients resource files

      Actual Behavior:

      • Item tag queries don't function in resource packs for clients

        1. bug_pack.mcaddon
          9 kB
          Gruntastic
        2. Capture.PNG
          610 kB
          Gruntastic
        3. Minecraft 12_11_2020 09_46_45.png
          656 kB
          Gruntastic

            Gruntastic Gruntastic
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: