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

Item Tags Aren't Queried In Clients Resource Pack

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Platform:
      Multiple
    • ADO:
      528155

      Description

      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

        Attachments

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

          Activity

            People

            Reporter:
            Gruntastic Gruntastic
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: