{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/41704796","id":41704796,"diff_hunk":"@@ -0,0 +1,75 @@\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.common.data.processor.data.entity;\n+\n+import net.minecraft.entity.player.EntityPlayer;\n+import org.spongepowered.api.data.DataHolder;\n+import org.spongepowered.api.data.DataTransactionBuilder;\n+import org.spongepowered.api.data.DataTransactionResult;\n+import org.spongepowered.api.data.key.Keys;\n+import org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingAbilityData;\n+import org.spongepowered.api.data.manipulator.mutable.entity.FlyingAbilityData;\n+import org.spongepowered.api.data.value.immutable.ImmutableValue;\n+import org.spongepowered.api.data.value.mutable.Value;\n+import org.spongepowered.common.data.manipulator.mutable.entity.SpongeFlyingAbilityData;\n+import org.spongepowered.common.data.processor.common.AbstractEntitySingleDataProcessor;\n+import org.spongepowered.common.data.value.immutable.ImmutableSpongeValue;\n+\n+import java.util.Optional;\n+\n+public class FlyingAbilityDataProcessor extends\n+        AbstractEntitySingleDataProcessor<EntityPlayer, Boolean, Value<Boolean>, FlyingAbilityData, ImmutableFlyingAbilityData> {\n+\n+    public FlyingAbilityDataProcessor() {\n+        super(EntityPlayer.class, Keys.IS_FLYING);","path":"src/main/java/org/spongepowered/common/data/processor/data/entity/FlyingAbilityDataProcessor.java","position":46,"original_position":46,"commit_id":"67558c8a58ee84a8f03b02f98109842376ececed","original_commit_id":"67558c8a58ee84a8f03b02f98109842376ececed","user":{"login":"clienthax","id":1056270,"avatar_url":"https://avatars.githubusercontent.com/u/1056270?v=3","gravatar_id":"","url":"https://api.github.com/users/clienthax","html_url":"https://github.com/clienthax","followers_url":"https://api.github.com/users/clienthax/followers","following_url":"https://api.github.com/users/clienthax/following{/other_user}","gists_url":"https://api.github.com/users/clienthax/gists{/gist_id}","starred_url":"https://api.github.com/users/clienthax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clienthax/subscriptions","organizations_url":"https://api.github.com/users/clienthax/orgs","repos_url":"https://api.github.com/users/clienthax/repos","events_url":"https://api.github.com/users/clienthax/events{/privacy}","received_events_url":"https://api.github.com/users/clienthax/received_events","type":"User","site_admin":false},"body":"nope.avi","created_at":"2015-10-11T03:43:00Z","updated_at":"2015-10-11T03:43:00Z","html_url":"https://github.com/SpongePowered/SpongeCommon/pull/193#discussion_r41704796","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/41704796"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/193#discussion_r41704796"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193","id":47314366,"html_url":"https://github.com/SpongePowered/SpongeCommon/pull/193","diff_url":"https://github.com/SpongePowered/SpongeCommon/pull/193.diff","patch_url":"https://github.com/SpongePowered/SpongeCommon/pull/193.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/193","number":193,"state":"open","locked":false,"title":"Implementation of Keys.CAN_FLY","user":{"login":"hsyyid","id":6820083,"avatar_url":"https://avatars.githubusercontent.com/u/6820083?v=3","gravatar_id":"","url":"https://api.github.com/users/hsyyid","html_url":"https://github.com/hsyyid","followers_url":"https://api.github.com/users/hsyyid/followers","following_url":"https://api.github.com/users/hsyyid/following{/other_user}","gists_url":"https://api.github.com/users/hsyyid/gists{/gist_id}","starred_url":"https://api.github.com/users/hsyyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsyyid/subscriptions","organizations_url":"https://api.github.com/users/hsyyid/orgs","repos_url":"https://api.github.com/users/hsyyid/repos","events_url":"https://api.github.com/users/hsyyid/events{/privacy}","received_events_url":"https://api.github.com/users/hsyyid/received_events","type":"User","site_admin":false},"body":"Implementation of Keys.CAN_FLY. Fully tested using the below plugin.\r\n\r\nTest Plugin: https://github.com/hsyyid/SpongeEssentialCmds/blob/master/src/main/java/io/github/hsyyid/spongeessentialcmds/cmdexecutors/FlyExecutor.java","created_at":"2015-10-09T20:08:15Z","updated_at":"2015-10-11T03:43:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60f892bec543b6e0f272d08b6f5fb80514266e3e","assignee":{"login":"gabizou","id":1203877,"avatar_url":"https://avatars.githubusercontent.com/u/1203877?v=3","gravatar_id":"","url":"https://api.github.com/users/gabizou","html_url":"https://github.com/gabizou","followers_url":"https://api.github.com/users/gabizou/followers","following_url":"https://api.github.com/users/gabizou/following{/other_user}","gists_url":"https://api.github.com/users/gabizou/gists{/gist_id}","starred_url":"https://api.github.com/users/gabizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabizou/subscriptions","organizations_url":"https://api.github.com/users/gabizou/orgs","repos_url":"https://api.github.com/users/gabizou/repos","events_url":"https://api.github.com/users/gabizou/events{/privacy}","received_events_url":"https://api.github.com/users/gabizou/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/193/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/67558c8a58ee84a8f03b02f98109842376ececed","head":{"label":"hsyyid:Keys.CAN_FLY","ref":"Keys.CAN_FLY","sha":"67558c8a58ee84a8f03b02f98109842376ececed","user":{"login":"hsyyid","id":6820083,"avatar_url":"https://avatars.githubusercontent.com/u/6820083?v=3","gravatar_id":"","url":"https://api.github.com/users/hsyyid","html_url":"https://github.com/hsyyid","followers_url":"https://api.github.com/users/hsyyid/followers","following_url":"https://api.github.com/users/hsyyid/following{/other_user}","gists_url":"https://api.github.com/users/hsyyid/gists{/gist_id}","starred_url":"https://api.github.com/users/hsyyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsyyid/subscriptions","organizations_url":"https://api.github.com/users/hsyyid/orgs","repos_url":"https://api.github.com/users/hsyyid/repos","events_url":"https://api.github.com/users/hsyyid/events{/privacy}","received_events_url":"https://api.github.com/users/hsyyid/received_events","type":"User","site_admin":false},"repo":{"id":40790345,"name":"SpongeCommon","full_name":"hsyyid/SpongeCommon","owner":{"login":"hsyyid","id":6820083,"avatar_url":"https://avatars.githubusercontent.com/u/6820083?v=3","gravatar_id":"","url":"https://api.github.com/users/hsyyid","html_url":"https://github.com/hsyyid","followers_url":"https://api.github.com/users/hsyyid/followers","following_url":"https://api.github.com/users/hsyyid/following{/other_user}","gists_url":"https://api.github.com/users/hsyyid/gists{/gist_id}","starred_url":"https://api.github.com/users/hsyyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsyyid/subscriptions","organizations_url":"https://api.github.com/users/hsyyid/orgs","repos_url":"https://api.github.com/users/hsyyid/repos","events_url":"https://api.github.com/users/hsyyid/events{/privacy}","received_events_url":"https://api.github.com/users/hsyyid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hsyyid/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":true,"url":"https://api.github.com/repos/hsyyid/SpongeCommon","forks_url":"https://api.github.com/repos/hsyyid/SpongeCommon/forks","keys_url":"https://api.github.com/repos/hsyyid/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hsyyid/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hsyyid/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/hsyyid/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/hsyyid/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/hsyyid/SpongeCommon/events","assignees_url":"https://api.github.com/repos/hsyyid/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/hsyyid/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/hsyyid/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/hsyyid/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hsyyid/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hsyyid/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/hsyyid/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hsyyid/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/hsyyid/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/hsyyid/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/hsyyid/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/hsyyid/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/hsyyid/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/hsyyid/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/hsyyid/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/hsyyid/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/hsyyid/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/hsyyid/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/hsyyid/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hsyyid/SpongeCommon/merges","archive_url":"https://api.github.com/repos/hsyyid/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hsyyid/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/hsyyid/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/hsyyid/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/hsyyid/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/hsyyid/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hsyyid/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/hsyyid/SpongeCommon/releases{/id}","created_at":"2015-08-15T23:01:17Z","updated_at":"2015-08-15T23:01:19Z","pushed_at":"2015-10-11T03:42:08Z","git_url":"git://github.com/hsyyid/SpongeCommon.git","ssh_url":"git@github.com:hsyyid/SpongeCommon.git","clone_url":"https://github.com/hsyyid/SpongeCommon.git","svn_url":"https://github.com/hsyyid/SpongeCommon","homepage":null,"size":4131,"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":"db21b6a7939ab008150e819d20e87b306028a450","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-09-28T01:58:23Z","pushed_at":"2015-10-11T03:42:09Z","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":10190,"stargazers_count":46,"watchers_count":46,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":55,"forks":52,"open_issues":55,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/193"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/193"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/67558c8a58ee84a8f03b02f98109842376ececed"}}}}