{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/30712100","id":30712100,"diff_hunk":"@@ -307,6 +318,31 @@ public boolean spawnEntity(Entity entity) {\n         return spawnEntityInWorld(((net.minecraft.entity.Entity) entity));\n     }\n \n+    /**\n+     * @author Simon816\n+     *\n+     * Same as original method except an added check for instanceof HumanEntity\n+     * because human entities should not count as a player.\n+     */\n+    @Overwrite\n+    public boolean spawnEntityInWorld(net.minecraft.entity.Entity entityIn) {\n+        int cx = MathHelper.floor_double(entityIn.posX / 16.0D);\n+        int cz = MathHelper.floor_double(entityIn.posZ / 16.0D);\n+        boolean force = entityIn.forceSpawn || (entityIn instanceof EntityPlayer && !(entityIn instanceof HumanEntity));","path":"src/main/java/org/spongepowered/common/mixin/core/world/MixinWorld.java","position":75,"original_position":75,"commit_id":"7f39dac5960732a7c40a452d32d121e878e4b921","original_commit_id":"7f39dac5960732a7c40a452d32d121e878e4b921","user":{"login":"Zidane","id":744482,"avatar_url":"https://avatars.githubusercontent.com/u/744482?v=3","gravatar_id":"","url":"https://api.github.com/users/Zidane","html_url":"https://github.com/Zidane","followers_url":"https://api.github.com/users/Zidane/followers","following_url":"https://api.github.com/users/Zidane/following{/other_user}","gists_url":"https://api.github.com/users/Zidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Zidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zidane/subscriptions","organizations_url":"https://api.github.com/users/Zidane/orgs","repos_url":"https://api.github.com/users/Zidane/repos","events_url":"https://api.github.com/users/Zidane/events{/privacy}","received_events_url":"https://api.github.com/users/Zidane/received_events","type":"User","site_admin":false},"body":"Same thing here as with Sponge. Overwrite shouldn't be needed.","created_at":"2015-05-20T15:07:44Z","updated_at":"2015-05-20T15:07:44Z","html_url":"https://github.com/SpongePowered/SpongeCommon/pull/19#discussion_r30712100","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/30712100"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/19#discussion_r30712100"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19","id":34595215,"html_url":"https://github.com/SpongePowered/SpongeCommon/pull/19","diff_url":"https://github.com/SpongePowered/SpongeCommon/pull/19.diff","patch_url":"https://github.com/SpongePowered/SpongeCommon/pull/19.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/19","number":19,"state":"open","locked":false,"title":"[WIP] Implement human entity","user":{"login":"simon816","id":1497508,"avatar_url":"https://avatars.githubusercontent.com/u/1497508?v=3","gravatar_id":"","url":"https://api.github.com/users/simon816","html_url":"https://github.com/simon816","followers_url":"https://api.github.com/users/simon816/followers","following_url":"https://api.github.com/users/simon816/following{/other_user}","gists_url":"https://api.github.com/users/simon816/gists{/gist_id}","starred_url":"https://api.github.com/users/simon816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon816/subscriptions","organizations_url":"https://api.github.com/users/simon816/orgs","repos_url":"https://api.github.com/users/simon816/repos","events_url":"https://api.github.com/users/simon816/events{/privacy}","received_events_url":"https://api.github.com/users/simon816/received_events","type":"User","site_admin":false},"body":"Migrated most functionality from https://github.com/SpongePowered/Sponge/pull/207\r\n\r\nWould be great to get some feedback on how I've implemented it to see whether anything can be improved.\r\nMore testing needs to be done, especially when there's many players and humans.","created_at":"2015-05-03T02:18:48Z","updated_at":"2015-05-20T15:07:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1d6e5b87962788574c0f5da266e23212e0349fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/19/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/7f39dac5960732a7c40a452d32d121e878e4b921","head":{"label":"simon816:human-entity-impl","ref":"human-entity-impl","sha":"7f39dac5960732a7c40a452d32d121e878e4b921","user":{"login":"simon816","id":1497508,"avatar_url":"https://avatars.githubusercontent.com/u/1497508?v=3","gravatar_id":"","url":"https://api.github.com/users/simon816","html_url":"https://github.com/simon816","followers_url":"https://api.github.com/users/simon816/followers","following_url":"https://api.github.com/users/simon816/following{/other_user}","gists_url":"https://api.github.com/users/simon816/gists{/gist_id}","starred_url":"https://api.github.com/users/simon816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon816/subscriptions","organizations_url":"https://api.github.com/users/simon816/orgs","repos_url":"https://api.github.com/users/simon816/repos","events_url":"https://api.github.com/users/simon816/events{/privacy}","received_events_url":"https://api.github.com/users/simon816/received_events","type":"User","site_admin":false},"repo":{"id":34962231,"name":"SpongeCommon","full_name":"simon816/SpongeCommon","owner":{"login":"simon816","id":1497508,"avatar_url":"https://avatars.githubusercontent.com/u/1497508?v=3","gravatar_id":"","url":"https://api.github.com/users/simon816","html_url":"https://github.com/simon816","followers_url":"https://api.github.com/users/simon816/followers","following_url":"https://api.github.com/users/simon816/following{/other_user}","gists_url":"https://api.github.com/users/simon816/gists{/gist_id}","starred_url":"https://api.github.com/users/simon816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon816/subscriptions","organizations_url":"https://api.github.com/users/simon816/orgs","repos_url":"https://api.github.com/users/simon816/repos","events_url":"https://api.github.com/users/simon816/events{/privacy}","received_events_url":"https://api.github.com/users/simon816/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simon816/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":true,"url":"https://api.github.com/repos/simon816/SpongeCommon","forks_url":"https://api.github.com/repos/simon816/SpongeCommon/forks","keys_url":"https://api.github.com/repos/simon816/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simon816/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simon816/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/simon816/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/simon816/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/simon816/SpongeCommon/events","assignees_url":"https://api.github.com/repos/simon816/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/simon816/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/simon816/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/simon816/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simon816/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simon816/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/simon816/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simon816/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/simon816/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/simon816/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/simon816/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/simon816/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/simon816/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/simon816/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/simon816/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/simon816/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/simon816/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/simon816/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/simon816/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simon816/SpongeCommon/merges","archive_url":"https://api.github.com/repos/simon816/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simon816/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/simon816/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/simon816/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/simon816/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/simon816/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simon816/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/simon816/SpongeCommon/releases{/id}","created_at":"2015-05-02T20:26:31Z","updated_at":"2015-05-03T14:44:17Z","pushed_at":"2015-05-20T13:43:33Z","git_url":"git://github.com/simon816/SpongeCommon.git","ssh_url":"git@github.com:simon816/SpongeCommon.git","clone_url":"https://github.com/simon816/SpongeCommon.git","svn_url":"https://github.com/simon816/SpongeCommon","homepage":null,"size":871,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SpongePowered:master","ref":"master","sha":"461a2d50ba33286201ec93ac3dd3525af58e5ea6","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":33791453,"name":"SpongeCommon","full_name":"SpongePowered/SpongeCommon","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/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":false,"url":"https://api.github.com/repos/SpongePowered/SpongeCommon","forks_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/forks","keys_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/events","assignees_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/merges","archive_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/releases{/id}","created_at":"2015-04-11T20:38:48Z","updated_at":"2015-05-18T22:15:39Z","pushed_at":"2015-05-20T13:43:33Z","git_url":"git://github.com/SpongePowered/SpongeCommon.git","ssh_url":"git@github.com:SpongePowered/SpongeCommon.git","clone_url":"https://github.com/SpongePowered/SpongeCommon.git","svn_url":"https://github.com/SpongePowered/SpongeCommon","homepage":null,"size":2367,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":24,"forks":11,"open_issues":24,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/19"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/19"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/7f39dac5960732a7c40a452d32d121e878e4b921"}}}}