{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "472209",
   "self": "https://bugs.mojang.com/rest/api/2/issue/472209",
   "key": "BDS-15536",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "7",
      "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": "2021-10-06T12:37:41.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-15536/watchers",
         "watchCount": 5,
         "isWatching": false
      },
      "created": "2021-10-03T18:36:44.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "20240"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2021-10-06T12:37:41.000+0300",
      "status": "5",
      "description": "I think in the right situation, all actions that destroy blocks should be handled by BlockSource::mayPlace, but some use BlockLegacy::mayPlace. And the latter did not return the Actor pointer, which caused me trouble to write plug-ins. In fact, BlockSource::mayPlace should be used for all destructive behaviors. Please modify it, for BDS, thank you.\r\n\r\n!A.png|thumbnail!",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "444801",
         "444800"
      ],
      "summary": "Please modify all BlockLegacy::mayPlace to BlockSource::mayPlace.",
      "creator": "JIRAUSER692267",
      "reporter": "JIRAUSER692267",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2301r:",
      "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/472209/comment/1085002",
               "id": "1085002",
               "author": "JIRAUSER648376",
               "body": "*Thank you for your report!*\r\nHowever, this issue has been closed as\u00a0*{color:#ff5722}Invalid{color}*.\r\n\r\nThis is more of a feature request or suggestion. For suggestions, please visit the\u00a0[Minecraft Feedback Site|https://feedback.minecraft.net/]\u00a0or choose a link below.\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3\u00a0[Issue Guidelines|http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft]\u00a0\u2013 \ud83d\udcac\u00a0[Mojang Support|https://help.mojang.com/]\u00a0\u2013 \ud83d\udce7\u00a0[Suggestions|https://feedback.minecraft.net/]\u00a0\u2013 \ud83d\udcd6\u00a0[Minecraft Wiki|http://minecraft.gamepedia.com/Minecraft_Wiki]",
               "updateAuthor": "JIRAUSER648376",
               "created": "2021-10-06T12:37:41.934+0300",
               "updated": "2021-10-06T12:37:41.934+0300"
            }
         ],
         "maxResults": 1,
         "total": 1,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-15536/votes",
         "votes": 6,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 2,
      "total": 2,
      "histories": [
         {
            "id": "2388202",
            "author": "arisabot",
            "created": "2021-10-03T18:36:52.506+0300",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "I think in the right situation, all actions that destroy blocks should be handled by BlockSource::mayPlace, but some use BlockLegacy::mayPlace. And the latter did not return the Actor pointer, which caused me trouble to write plug-ins. In fact, BlockSource::mayPlace should be used for all destructive behaviors. Please modify it, for BDS, thank you.\r\n\r\n!A.png!",
                  "to": null,
                  "toString": "I think in the right situation, all actions that destroy blocks should be handled by BlockSource::mayPlace, but some use BlockLegacy::mayPlace. And the latter did not return the Actor pointer, which caused me trouble to write plug-ins. In fact, BlockSource::mayPlace should be used for all destructive behaviors. Please modify it, for BDS, thank you.\r\n\r\n!A.png|thumbnail!"
               }
            ]
         },
         {
            "id": "2391102",
            "author": "JIRAUSER648376",
            "created": "2021-10-06T12:37:41.938+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "7",
                  "toString": "Invalid"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}