{"action":"created","comment":{"url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/comments/64298316","id":64298316,"diff_hunk":"@@ -0,0 +1,66 @@\n+package org.kitteh.vanish;\n+\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.HashSet;\n+import java.util.Set;\n+\n+import org.spongepowered.api.Sponge;\n+import org.spongepowered.api.data.key.Keys;\n+import org.spongepowered.api.effect.particle.ParticleEffect;\n+import org.spongepowered.api.effect.particle.ParticleTypes;\n+import org.spongepowered.api.entity.Entity;\n+import org.spongepowered.api.entity.EntityType;\n+import org.spongepowered.api.entity.EntityTypes;\n+import org.spongepowered.api.entity.living.player.Player;\n+import org.spongepowered.api.event.cause.Cause;\n+import org.spongepowered.api.event.cause.entity.spawn.SpawnCause;\n+import org.spongepowered.api.event.cause.entity.spawn.SpawnTypes;\n+import org.spongepowered.api.world.Location;\n+import org.spongepowered.api.world.World;\n+\n+public class VanishEntitySpawnEffects {\n+    private static final int LIFE_TICKS = 3 * 20;\n+    private final Cause entityCause;\n+    private final ParticleEffect effect;\n+    \n+    public VanishEntitySpawnEffects() {\n+    \tthis.entityCause = Cause.source(SpawnCause.builder().type(SpawnTypes.PLUGIN).build()).owner(Vanish.getInstance()).build();","path":"src/main/java/org/kitteh/vanish/VanishEntitySpawnEffects.java","position":28,"original_position":28,"commit_id":"0113a23c26833e8c553fc786440cf1cb2c1ab233","original_commit_id":"29e0ee5c8e750bfdf4e17a9bf9d4295c0f2b9280","user":{"login":"mbax","id":181668,"avatar_url":"https://avatars.githubusercontent.com/u/181668?v=3","gravatar_id":"","url":"https://api.github.com/users/mbax","html_url":"https://github.com/mbax","followers_url":"https://api.github.com/users/mbax/followers","following_url":"https://api.github.com/users/mbax/following{/other_user}","gists_url":"https://api.github.com/users/mbax/gists{/gist_id}","starred_url":"https://api.github.com/users/mbax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbax/subscriptions","organizations_url":"https://api.github.com/users/mbax/orgs","repos_url":"https://api.github.com/users/mbax/repos","events_url":"https://api.github.com/users/mbax/events{/privacy}","received_events_url":"https://api.github.com/users/mbax/received_events","type":"User","site_admin":false},"body":"tabs all over the place","created_at":"2016-05-23T22:10:45Z","updated_at":"2016-05-23T22:10:45Z","html_url":"https://github.com/KittehOrg/Vanish/pull/6#discussion_r64298316","pull_request_url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/comments/64298316"},"html":{"href":"https://github.com/KittehOrg/Vanish/pull/6#discussion_r64298316"},"pull_request":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6","id":71126306,"html_url":"https://github.com/KittehOrg/Vanish/pull/6","diff_url":"https://github.com/KittehOrg/Vanish/pull/6.diff","patch_url":"https://github.com/KittehOrg/Vanish/pull/6.patch","issue_url":"https://api.github.com/repos/KittehOrg/Vanish/issues/6","number":6,"state":"open","locked":false,"title":"Meow.","user":{"login":"AKPWebDesign","id":2061434,"avatar_url":"https://avatars.githubusercontent.com/u/2061434?v=3","gravatar_id":"","url":"https://api.github.com/users/AKPWebDesign","html_url":"https://github.com/AKPWebDesign","followers_url":"https://api.github.com/users/AKPWebDesign/followers","following_url":"https://api.github.com/users/AKPWebDesign/following{/other_user}","gists_url":"https://api.github.com/users/AKPWebDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/AKPWebDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKPWebDesign/subscriptions","organizations_url":"https://api.github.com/users/AKPWebDesign/orgs","repos_url":"https://api.github.com/users/AKPWebDesign/repos","events_url":"https://api.github.com/users/AKPWebDesign/events{/privacy}","received_events_url":"https://api.github.com/users/AKPWebDesign/received_events","type":"User","site_admin":false},"body":"Moved entity spawning and related code out to its own class.\r\nAdded getInstance static method to Vanish, so we can easily get the plugin instance.\r\nAdded ocelot entity spawning effect.\r\nHopefully followed existing code formatting well enough (let me know if not...)","created_at":"2016-05-23T21:48:46Z","updated_at":"2016-05-23T22:10:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2527901d5732246d225e153f2c4caa05e8318d43","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6/commits","review_comments_url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6/comments","review_comment_url":"https://api.github.com/repos/KittehOrg/Vanish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KittehOrg/Vanish/issues/6/comments","statuses_url":"https://api.github.com/repos/KittehOrg/Vanish/statuses/0113a23c26833e8c553fc786440cf1cb2c1ab233","head":{"label":"AKPWebDesign:meow","ref":"meow","sha":"0113a23c26833e8c553fc786440cf1cb2c1ab233","user":{"login":"AKPWebDesign","id":2061434,"avatar_url":"https://avatars.githubusercontent.com/u/2061434?v=3","gravatar_id":"","url":"https://api.github.com/users/AKPWebDesign","html_url":"https://github.com/AKPWebDesign","followers_url":"https://api.github.com/users/AKPWebDesign/followers","following_url":"https://api.github.com/users/AKPWebDesign/following{/other_user}","gists_url":"https://api.github.com/users/AKPWebDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/AKPWebDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKPWebDesign/subscriptions","organizations_url":"https://api.github.com/users/AKPWebDesign/orgs","repos_url":"https://api.github.com/users/AKPWebDesign/repos","events_url":"https://api.github.com/users/AKPWebDesign/events{/privacy}","received_events_url":"https://api.github.com/users/AKPWebDesign/received_events","type":"User","site_admin":false},"repo":{"id":59507228,"name":"Vanish","full_name":"AKPWebDesign/Vanish","owner":{"login":"AKPWebDesign","id":2061434,"avatar_url":"https://avatars.githubusercontent.com/u/2061434?v=3","gravatar_id":"","url":"https://api.github.com/users/AKPWebDesign","html_url":"https://github.com/AKPWebDesign","followers_url":"https://api.github.com/users/AKPWebDesign/followers","following_url":"https://api.github.com/users/AKPWebDesign/following{/other_user}","gists_url":"https://api.github.com/users/AKPWebDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/AKPWebDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKPWebDesign/subscriptions","organizations_url":"https://api.github.com/users/AKPWebDesign/orgs","repos_url":"https://api.github.com/users/AKPWebDesign/repos","events_url":"https://api.github.com/users/AKPWebDesign/events{/privacy}","received_events_url":"https://api.github.com/users/AKPWebDesign/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AKPWebDesign/Vanish","description":"","fork":true,"url":"https://api.github.com/repos/AKPWebDesign/Vanish","forks_url":"https://api.github.com/repos/AKPWebDesign/Vanish/forks","keys_url":"https://api.github.com/repos/AKPWebDesign/Vanish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AKPWebDesign/Vanish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AKPWebDesign/Vanish/teams","hooks_url":"https://api.github.com/repos/AKPWebDesign/Vanish/hooks","issue_events_url":"https://api.github.com/repos/AKPWebDesign/Vanish/issues/events{/number}","events_url":"https://api.github.com/repos/AKPWebDesign/Vanish/events","assignees_url":"https://api.github.com/repos/AKPWebDesign/Vanish/assignees{/user}","branches_url":"https://api.github.com/repos/AKPWebDesign/Vanish/branches{/branch}","tags_url":"https://api.github.com/repos/AKPWebDesign/Vanish/tags","blobs_url":"https://api.github.com/repos/AKPWebDesign/Vanish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AKPWebDesign/Vanish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AKPWebDesign/Vanish/git/refs{/sha}","trees_url":"https://api.github.com/repos/AKPWebDesign/Vanish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AKPWebDesign/Vanish/statuses/{sha}","languages_url":"https://api.github.com/repos/AKPWebDesign/Vanish/languages","stargazers_url":"https://api.github.com/repos/AKPWebDesign/Vanish/stargazers","contributors_url":"https://api.github.com/repos/AKPWebDesign/Vanish/contributors","subscribers_url":"https://api.github.com/repos/AKPWebDesign/Vanish/subscribers","subscription_url":"https://api.github.com/repos/AKPWebDesign/Vanish/subscription","commits_url":"https://api.github.com/repos/AKPWebDesign/Vanish/commits{/sha}","git_commits_url":"https://api.github.com/repos/AKPWebDesign/Vanish/git/commits{/sha}","comments_url":"https://api.github.com/repos/AKPWebDesign/Vanish/comments{/number}","issue_comment_url":"https://api.github.com/repos/AKPWebDesign/Vanish/issues/comments{/number}","contents_url":"https://api.github.com/repos/AKPWebDesign/Vanish/contents/{+path}","compare_url":"https://api.github.com/repos/AKPWebDesign/Vanish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AKPWebDesign/Vanish/merges","archive_url":"https://api.github.com/repos/AKPWebDesign/Vanish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AKPWebDesign/Vanish/downloads","issues_url":"https://api.github.com/repos/AKPWebDesign/Vanish/issues{/number}","pulls_url":"https://api.github.com/repos/AKPWebDesign/Vanish/pulls{/number}","milestones_url":"https://api.github.com/repos/AKPWebDesign/Vanish/milestones{/number}","notifications_url":"https://api.github.com/repos/AKPWebDesign/Vanish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AKPWebDesign/Vanish/labels{/name}","releases_url":"https://api.github.com/repos/AKPWebDesign/Vanish/releases{/id}","deployments_url":"https://api.github.com/repos/AKPWebDesign/Vanish/deployments","created_at":"2016-05-23T18:12:45Z","updated_at":"2016-05-23T18:12:46Z","pushed_at":"2016-05-23T22:04:15Z","git_url":"git://github.com/AKPWebDesign/Vanish.git","ssh_url":"git@github.com:AKPWebDesign/Vanish.git","clone_url":"https://github.com/AKPWebDesign/Vanish.git","svn_url":"https://github.com/AKPWebDesign/Vanish","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"KittehOrg:master","ref":"master","sha":"9a4e73cfcefcf70dba70a7fc735fdcf2d9a9205b","user":{"login":"KittehOrg","id":1663469,"avatar_url":"https://avatars.githubusercontent.com/u/1663469?v=3","gravatar_id":"","url":"https://api.github.com/users/KittehOrg","html_url":"https://github.com/KittehOrg","followers_url":"https://api.github.com/users/KittehOrg/followers","following_url":"https://api.github.com/users/KittehOrg/following{/other_user}","gists_url":"https://api.github.com/users/KittehOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/KittehOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KittehOrg/subscriptions","organizations_url":"https://api.github.com/users/KittehOrg/orgs","repos_url":"https://api.github.com/users/KittehOrg/repos","events_url":"https://api.github.com/users/KittehOrg/events{/privacy}","received_events_url":"https://api.github.com/users/KittehOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":48924847,"name":"Vanish","full_name":"KittehOrg/Vanish","owner":{"login":"KittehOrg","id":1663469,"avatar_url":"https://avatars.githubusercontent.com/u/1663469?v=3","gravatar_id":"","url":"https://api.github.com/users/KittehOrg","html_url":"https://github.com/KittehOrg","followers_url":"https://api.github.com/users/KittehOrg/followers","following_url":"https://api.github.com/users/KittehOrg/following{/other_user}","gists_url":"https://api.github.com/users/KittehOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/KittehOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KittehOrg/subscriptions","organizations_url":"https://api.github.com/users/KittehOrg/orgs","repos_url":"https://api.github.com/users/KittehOrg/repos","events_url":"https://api.github.com/users/KittehOrg/events{/privacy}","received_events_url":"https://api.github.com/users/KittehOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KittehOrg/Vanish","description":"","fork":false,"url":"https://api.github.com/repos/KittehOrg/Vanish","forks_url":"https://api.github.com/repos/KittehOrg/Vanish/forks","keys_url":"https://api.github.com/repos/KittehOrg/Vanish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KittehOrg/Vanish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KittehOrg/Vanish/teams","hooks_url":"https://api.github.com/repos/KittehOrg/Vanish/hooks","issue_events_url":"https://api.github.com/repos/KittehOrg/Vanish/issues/events{/number}","events_url":"https://api.github.com/repos/KittehOrg/Vanish/events","assignees_url":"https://api.github.com/repos/KittehOrg/Vanish/assignees{/user}","branches_url":"https://api.github.com/repos/KittehOrg/Vanish/branches{/branch}","tags_url":"https://api.github.com/repos/KittehOrg/Vanish/tags","blobs_url":"https://api.github.com/repos/KittehOrg/Vanish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KittehOrg/Vanish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KittehOrg/Vanish/git/refs{/sha}","trees_url":"https://api.github.com/repos/KittehOrg/Vanish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KittehOrg/Vanish/statuses/{sha}","languages_url":"https://api.github.com/repos/KittehOrg/Vanish/languages","stargazers_url":"https://api.github.com/repos/KittehOrg/Vanish/stargazers","contributors_url":"https://api.github.com/repos/KittehOrg/Vanish/contributors","subscribers_url":"https://api.github.com/repos/KittehOrg/Vanish/subscribers","subscription_url":"https://api.github.com/repos/KittehOrg/Vanish/subscription","commits_url":"https://api.github.com/repos/KittehOrg/Vanish/commits{/sha}","git_commits_url":"https://api.github.com/repos/KittehOrg/Vanish/git/commits{/sha}","comments_url":"https://api.github.com/repos/KittehOrg/Vanish/comments{/number}","issue_comment_url":"https://api.github.com/repos/KittehOrg/Vanish/issues/comments{/number}","contents_url":"https://api.github.com/repos/KittehOrg/Vanish/contents/{+path}","compare_url":"https://api.github.com/repos/KittehOrg/Vanish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KittehOrg/Vanish/merges","archive_url":"https://api.github.com/repos/KittehOrg/Vanish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KittehOrg/Vanish/downloads","issues_url":"https://api.github.com/repos/KittehOrg/Vanish/issues{/number}","pulls_url":"https://api.github.com/repos/KittehOrg/Vanish/pulls{/number}","milestones_url":"https://api.github.com/repos/KittehOrg/Vanish/milestones{/number}","notifications_url":"https://api.github.com/repos/KittehOrg/Vanish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KittehOrg/Vanish/labels{/name}","releases_url":"https://api.github.com/repos/KittehOrg/Vanish/releases{/id}","deployments_url":"https://api.github.com/repos/KittehOrg/Vanish/deployments","created_at":"2016-01-02T21:44:31Z","updated_at":"2016-01-19T22:24:29Z","pushed_at":"2016-05-23T22:04:15Z","git_url":"git://github.com/KittehOrg/Vanish.git","ssh_url":"git@github.com:KittehOrg/Vanish.git","clone_url":"https://github.com/KittehOrg/Vanish.git","svn_url":"https://github.com/KittehOrg/Vanish","homepage":null,"size":17,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6"},"html":{"href":"https://github.com/KittehOrg/Vanish/pull/6"},"issue":{"href":"https://api.github.com/repos/KittehOrg/Vanish/issues/6"},"comments":{"href":"https://api.github.com/repos/KittehOrg/Vanish/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KittehOrg/Vanish/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/KittehOrg/Vanish/statuses/0113a23c26833e8c553fc786440cf1cb2c1ab233"}}}}
{"actor":{"display_login":"mbax"}}