{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/comments/64995500","id":64995500,"diff_hunk":"@@ -0,0 +1,125 @@\n+/*\n+ * This file is part of Sponge, licensed under the MIT License (MIT).\n+ *\n+ * Copyright (c) SpongePowered <https://www.spongepowered.org>\n+ * Copyright (c) contributors\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in\n+ * all copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+ * THE SOFTWARE.\n+ */\n+package org.spongepowered.server.world.chunkio;\n+\n+import static net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkEntity;\n+\n+import net.minecraft.block.Block;\n+import net.minecraft.nbt.CompressedStreamTools;\n+import net.minecraft.nbt.NBTTagCompound;\n+import net.minecraft.nbt.NBTTagList;\n+import net.minecraft.tileentity.TileEntity;\n+import net.minecraft.util.datafix.FixTypes;\n+import net.minecraft.util.math.BlockPos;\n+import net.minecraft.util.math.ChunkPos;\n+import net.minecraft.world.World;\n+import net.minecraft.world.chunk.Chunk;\n+import net.minecraft.world.chunk.storage.AnvilChunkLoader;\n+import net.minecraft.world.chunk.storage.RegionFileCache;\n+\n+import java.io.DataInputStream;\n+import java.io.IOException;\n+\n+public final class AsyncAnvilChunkLoader {\n+\n+    private AsyncAnvilChunkLoader() {\n+    }\n+\n+    public static Object[] load(AnvilChunkLoader loader, World worldIn, int x, int z) throws IOException {","path":"src/main/java/org/spongepowered/server/world/chunkio/AsyncAnvilChunkLoader.java","position":50,"original_position":50,"commit_id":"d703921ebdbd9d2349b68d2c63904bb69d3ce688","original_commit_id":"d703921ebdbd9d2349b68d2c63904bb69d3ce688","user":{"login":"kashike","id":5474071,"avatar_url":"https://avatars.githubusercontent.com/u/5474071?v=3","gravatar_id":"","url":"https://api.github.com/users/kashike","html_url":"https://github.com/kashike","followers_url":"https://api.github.com/users/kashike/followers","following_url":"https://api.github.com/users/kashike/following{/other_user}","gists_url":"https://api.github.com/users/kashike/gists{/gist_id}","starred_url":"https://api.github.com/users/kashike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashike/subscriptions","organizations_url":"https://api.github.com/users/kashike/orgs","repos_url":"https://api.github.com/users/kashike/repos","events_url":"https://api.github.com/users/kashike/events{/privacy}","received_events_url":"https://api.github.com/users/kashike/received_events","type":"User","site_admin":false},"body":"`Object[]` vs `Tuple`?","created_at":"2016-05-28T23:06:01Z","updated_at":"2016-05-28T23:06:01Z","html_url":"https://github.com/SpongePowered/SpongeVanilla/pull/243#discussion_r64995500","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/comments/64995500"},"html":{"href":"https://github.com/SpongePowered/SpongeVanilla/pull/243#discussion_r64995500"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243","id":70977283,"html_url":"https://github.com/SpongePowered/SpongeVanilla/pull/243","diff_url":"https://github.com/SpongePowered/SpongeVanilla/pull/243.diff","patch_url":"https://github.com/SpongePowered/SpongeVanilla/pull/243.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/243","number":243,"state":"open","locked":false,"title":"Implement asynchronous chunk loading","user":{"login":"Minecrell","id":3035868,"avatar_url":"https://avatars.githubusercontent.com/u/3035868?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecrell","html_url":"https://github.com/Minecrell","followers_url":"https://api.github.com/users/Minecrell/followers","following_url":"https://api.github.com/users/Minecrell/following{/other_user}","gists_url":"https://api.github.com/users/Minecrell/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecrell/subscriptions","organizations_url":"https://api.github.com/users/Minecrell/orgs","repos_url":"https://api.github.com/users/Minecrell/repos","events_url":"https://api.github.com/users/Minecrell/events{/privacy}","received_events_url":"https://api.github.com/users/Minecrell/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/SpongePowered/SpongeVanilla/issues/237\r\n\r\nAdds asynchronous chunk loading to SpongeVanilla based on Forge's implementation with some smaller modifications.\r\n\r\nThis is pretty much complete, but could use some additional testing to make sure it doesn't break.\r\n\r\n","created_at":"2016-05-22T13:38:03Z","updated_at":"2016-05-28T23:06:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d16ddfb0efde64dd18a85583eb615f3349d5105e","assignee":{"login":"Minecrell","id":3035868,"avatar_url":"https://avatars.githubusercontent.com/u/3035868?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecrell","html_url":"https://github.com/Minecrell","followers_url":"https://api.github.com/users/Minecrell/followers","following_url":"https://api.github.com/users/Minecrell/following{/other_user}","gists_url":"https://api.github.com/users/Minecrell/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecrell/subscriptions","organizations_url":"https://api.github.com/users/Minecrell/orgs","repos_url":"https://api.github.com/users/Minecrell/repos","events_url":"https://api.github.com/users/Minecrell/events{/privacy}","received_events_url":"https://api.github.com/users/Minecrell/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/243/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/statuses/d703921ebdbd9d2349b68d2c63904bb69d3ce688","head":{"label":"SpongePowered:feature/async-chunk-io","ref":"feature/async-chunk-io","sha":"d703921ebdbd9d2349b68d2c63904bb69d3ce688","user":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"repo":{"id":23766683,"name":"SpongeVanilla","full_name":"SpongePowered/SpongeVanilla","owner":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpongePowered/SpongeVanilla","description":"The SpongeAPI implementation for Vanilla Minecraft.","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeVanilla","forks_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/releases{/id}","deployments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/deployments","created_at":"2014-09-07T18:00:22Z","updated_at":"2016-05-23T17:28:39Z","pushed_at":"2016-05-28T19:58:16Z","git_url":"git://github.com/SpongePowered/SpongeVanilla.git","ssh_url":"git@github.com:SpongePowered/SpongeVanilla.git","clone_url":"https://github.com/SpongePowered/SpongeVanilla.git","svn_url":"https://github.com/SpongePowered/SpongeVanilla","homepage":"http://www.spongepowered.org/","size":4330,"stargazers_count":158,"watchers_count":158,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":12,"forks":68,"open_issues":12,"watchers":158,"default_branch":"master"}},"base":{"label":"SpongePowered:bleeding","ref":"bleeding","sha":"cdf5adfc3baa4b52009b08d4fb651a4f5fa28e0d","user":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"repo":{"id":23766683,"name":"SpongeVanilla","full_name":"SpongePowered/SpongeVanilla","owner":{"login":"SpongePowered","id":8683473,"avatar_url":"https://avatars.githubusercontent.com/u/8683473?v=3","gravatar_id":"","url":"https://api.github.com/users/SpongePowered","html_url":"https://github.com/SpongePowered","followers_url":"https://api.github.com/users/SpongePowered/followers","following_url":"https://api.github.com/users/SpongePowered/following{/other_user}","gists_url":"https://api.github.com/users/SpongePowered/gists{/gist_id}","starred_url":"https://api.github.com/users/SpongePowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpongePowered/subscriptions","organizations_url":"https://api.github.com/users/SpongePowered/orgs","repos_url":"https://api.github.com/users/SpongePowered/repos","events_url":"https://api.github.com/users/SpongePowered/events{/privacy}","received_events_url":"https://api.github.com/users/SpongePowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpongePowered/SpongeVanilla","description":"The SpongeAPI implementation for Vanilla Minecraft.","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeVanilla","forks_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/releases{/id}","deployments_url":"https://api.github.com/repos/SpongePowered/SpongeVanilla/deployments","created_at":"2014-09-07T18:00:22Z","updated_at":"2016-05-23T17:28:39Z","pushed_at":"2016-05-28T19:58:16Z","git_url":"git://github.com/SpongePowered/SpongeVanilla.git","ssh_url":"git@github.com:SpongePowered/SpongeVanilla.git","clone_url":"https://github.com/SpongePowered/SpongeVanilla.git","svn_url":"https://github.com/SpongePowered/SpongeVanilla","homepage":"http://www.spongepowered.org/","size":4330,"stargazers_count":158,"watchers_count":158,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":12,"forks":68,"open_issues":12,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243"},"html":{"href":"https://github.com/SpongePowered/SpongeVanilla/pull/243"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/243"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeVanilla/statuses/d703921ebdbd9d2349b68d2c63904bb69d3ce688"}}}}
{"actor":{"display_login":"kashike"}}