{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "520857",
   "self": "https://bugs.mojang.com/rest/api/2/issue/520857",
   "key": "BDS-18186",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "4",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2024-05-14T19:14:11.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18186/watchers",
         "watchCount": 9,
         "isWatching": false
      },
      "created": "2022-11-16T13:18:47.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [
         "experimental_queries",
         "molang",
         "query",
         "resource-pack",
         "scoreboard"
      ],
      "customfield_11700": "{}",
      "versions": [
         "21406"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2024-05-14T19:14:11.000+0300",
      "status": "5",
      "description": "When logging in from any platform on any of the newest versions (1.19.0 - 1.19.40) we experience query.scoreboard issue: it doesn't load and outputs the error (\"Unrecognized token: query.scoreboard('something')\" or \"Unrecognized token: q.scoreboard('something')\") to the content log and the animations using it get broken.\r\n\r\nUsually, the bug happens after the first join when the player downloads the resource pack. It can happen randomly when the resource pack is already downloaded and cached by the client. The bug fixes itself if the player relogs with the cached resource pack.\r\n\r\nThis bug happens for both \"q.scoreboard\" and \"query.scoreboard\" tokens.\r\n\r\nAttached two videos of the bug, first video is the demonstration of the bug and the second one demonstrates the fix after relog.\r\n \r\nhttps://youtu.be/vey-kKpUUBM\r\n\r\nhttps://youtu.be/xOAl72kqgQk\r\n\r\n\r\nAttached screenshots of the expected vanilla behaviour.\r\n\r\nAlso attached the test resource pack to reproduce the bug. Zip, mcpack and set up world zip that you can put in the BDS to test.\r\n\r\nCommunity heavily relies on this feature to create advanced in-game experiences, thus we hope this issue gets much deserved attention. Thanks!",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "513849",
         "513850",
         "513852",
         "513853",
         "513854",
         "513855",
         "513856",
         "513857",
         "513858",
         "513851"
      ],
      "summary": "Unrecognized token: query.scoreboard, even though Molang Features experiment is enabled",
      "creator": "JIRAUSER514249",
      "reporter": "JIRAUSER514249",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2b9jz:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/520857/comment/1243962",
               "id": "1243962",
               "author": "weszaj_waw",
               "body": "Resolving temporarily as {*}Awaiting Response{*}. Is this an issue only in BDS or does it also occur in singleplayer worlds?\r\nThis ticket will reopen automatically when you reply.",
               "updateAuthor": "weszaj_waw",
               "created": "2023-03-15T10:42:44.612+0200",
               "updated": "2023-03-15T10:42:44.612+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/520857/comment/1244247",
               "id": "1244247",
               "author": "JIRAUSER514249",
               "body": "@Weszaj_WAW,\r\n\r\nAs far as we tested, it happens only on BDS and third-party servers. We did test it in the singleplayer world and couldn't reproduce the bug. Maybe it's something related to the network packet timings.",
               "updateAuthor": "JIRAUSER514249",
               "created": "2023-03-15T23:20:42.705+0200",
               "updated": "2023-03-15T23:21:29.959+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/520857/comment/1264497",
               "id": "1264497",
               "author": "legopitstop",
               "body": "{{I'm experiencing the same issue with query.block_neighbor_has_any_tag after updating to 1.20 but it works fine on a singleplayer world.}}",
               "updateAuthor": "legopitstop",
               "created": "2023-06-21T00:52:56.896+0300",
               "updated": "2023-06-21T00:52:56.896+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/520857/comment/1266974",
               "id": "1266974",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nDoes this issue still occur after updating to 1.20.1?\r\n\r\nThis ticket will automatically reopen when you reply.",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-07-04T16:29:49.226+0300",
               "updated": "2023-07-04T16:29:49.226+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/520857/comment/1322836",
               "id": "1322836",
               "author": "JIRAUSER484247",
               "body": "Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.\r\n\r\nQuick Links:\r\n\ud83d\udcd3 Issue Guidelines \u2013 \ud83d\udcac Mojang Support \u2013 \ud83d\udce7 Suggestions \u2013 \ud83d\udcd6 Minecraft Wiki\r\n\r\n",
               "updateAuthor": "JIRAUSER484247",
               "created": "2024-05-14T19:14:11.552+0300",
               "updated": "2024-05-14T19:14:11.552+0300"
            }
         ],
         "maxResults": 5,
         "total": 5,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18186/votes",
         "votes": 8,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 8,
      "total": 8,
      "histories": [
         {
            "id": "2697896",
            "author": "JIRAUSER514249",
            "created": "2022-11-16T13:23:18.183+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "experimental_queries molang resource-pack"
               }
            ]
         },
         {
            "id": "2697897",
            "author": "JIRAUSER514249",
            "created": "2022-11-16T13:24:19.493+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "experimental_queries molang resource-pack",
                  "to": null,
                  "toString": "experimental_queries molang query resource-pack scoreboard"
               }
            ]
         },
         {
            "id": "2768072",
            "author": "weszaj_waw",
            "created": "2023-03-15T10:42:44.617+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2768840",
            "author": "arisabot",
            "created": "2023-03-15T23:20:49.495+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2769301",
            "author": "weszaj_waw",
            "created": "2023-03-16T11:26:04.485+0200",
            "items": [
               {
                  "field": "Key",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "MCPE-164395",
                  "to": null,
                  "toString": "BDS-18186"
               },
               {
                  "field": "Platform",
                  "fieldtype": "custom",
                  "from": "11503",
                  "fromString": "Multiple",
                  "to": null,
                  "toString": ""
               },
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "21406",
                  "toString": "1.19.70"
               },
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": "21218",
                  "fromString": "1.19.41",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "Workflow",
                  "fieldtype": "jira",
                  "from": "691840",
                  "fromString": "MCPE Workflow",
                  "to": "701704",
                  "toString": "Global Mojang Workflow"
               },
               {
                  "field": "project",
                  "fieldtype": "jira",
                  "from": "10200",
                  "fromString": "Minecraft (Bedrock codebase)",
                  "to": "11700",
                  "toString": "Bedrock Dedicated Server"
               }
            ]
         },
         {
            "id": "2832303",
            "author": "JIRAUSER648376",
            "created": "2023-07-04T16:29:49.231+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2994994",
            "author": "JIRAUSER484247",
            "created": "2024-05-14T18:51:49.201+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2995084",
            "author": "JIRAUSER484247",
            "created": "2024-05-14T19:14:11.555+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "4",
                  "toString": "Incomplete"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}