{"action":"created","comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/42293824","id":42293824,"diff_hunk":"@@ -0,0 +1,111 @@\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.manipulator.mutable.tileentity;\n+\n+import net.minecraft.potion.Potion;\n+import net.minecraft.tileentity.TileEntityBeacon;\n+import org.spongepowered.api.data.DataContainer;\n+import org.spongepowered.api.data.key.Keys;\n+import org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData;\n+import org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData;\n+import org.spongepowered.api.data.value.mutable.OptionalValue;\n+import org.spongepowered.api.potion.PotionEffectType;\n+import org.spongepowered.common.data.manipulator.immutable.tileentity.ImmutableSpongeBeaconData;\n+import org.spongepowered.common.data.manipulator.mutable.common.AbstractData;\n+import org.spongepowered.common.data.value.mutable.SpongeOptionalValue;\n+import org.spongepowered.common.interfaces.tileentity.IMixinTileEntityBeacon;\n+\n+import java.util.Optional;\n+\n+public class SpongeBeaconData extends AbstractData<BeaconData, ImmutableBeaconData> implements BeaconData {\n+\n+    private final TileEntityBeacon beacon;\n+\n+    public SpongeBeaconData(TileEntityBeacon beacon) {","path":"src/main/java/org/spongepowered/common/data/manipulator/mutable/tileentity/SpongeBeaconData.java","position":46,"original_position":46,"commit_id":"198e17cd7b203dd34f184b60d636a55aefa47995","original_commit_id":"198e17cd7b203dd34f184b60d636a55aefa47995","user":{"login":"jamierocks","id":5103549,"avatar_url":"https://avatars.githubusercontent.com/u/5103549?v=3","gravatar_id":"","url":"https://api.github.com/users/jamierocks","html_url":"https://github.com/jamierocks","followers_url":"https://api.github.com/users/jamierocks/followers","following_url":"https://api.github.com/users/jamierocks/following{/other_user}","gists_url":"https://api.github.com/users/jamierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/jamierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamierocks/subscriptions","organizations_url":"https://api.github.com/users/jamierocks/orgs","repos_url":"https://api.github.com/users/jamierocks/repos","events_url":"https://api.github.com/users/jamierocks/events{/privacy}","received_events_url":"https://api.github.com/users/jamierocks/received_events","type":"User","site_admin":false},"body":"Ah okay. Still getting used to things :)","created_at":"2015-10-16T21:46:18Z","updated_at":"2015-10-16T21:46:18Z","html_url":"https://github.com/SpongePowered/SpongeCommon/pull/208#discussion_r42293824","pull_request_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments/42293824"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/208#discussion_r42293824"},"pull_request":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208","id":47957769,"html_url":"https://github.com/SpongePowered/SpongeCommon/pull/208","diff_url":"https://github.com/SpongePowered/SpongeCommon/pull/208.diff","patch_url":"https://github.com/SpongePowered/SpongeCommon/pull/208.patch","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/208","number":208,"state":"open","locked":false,"title":"[WIP] Beacon data","user":{"login":"jamierocks","id":5103549,"avatar_url":"https://avatars.githubusercontent.com/u/5103549?v=3","gravatar_id":"","url":"https://api.github.com/users/jamierocks","html_url":"https://github.com/jamierocks","followers_url":"https://api.github.com/users/jamierocks/followers","following_url":"https://api.github.com/users/jamierocks/following{/other_user}","gists_url":"https://api.github.com/users/jamierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/jamierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamierocks/subscriptions","organizations_url":"https://api.github.com/users/jamierocks/orgs","repos_url":"https://api.github.com/users/jamierocks/repos","events_url":"https://api.github.com/users/jamierocks/events{/privacy}","received_events_url":"https://api.github.com/users/jamierocks/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-16T20:42:48Z","updated_at":"2015-10-16T21:46:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da17a619e66dde827afec338a31a33c205fec10f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208/commits","review_comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208/comments","review_comment_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/208/comments","statuses_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/198e17cd7b203dd34f184b60d636a55aefa47995","head":{"label":"jamierocks:data/beacon","ref":"data/beacon","sha":"198e17cd7b203dd34f184b60d636a55aefa47995","user":{"login":"jamierocks","id":5103549,"avatar_url":"https://avatars.githubusercontent.com/u/5103549?v=3","gravatar_id":"","url":"https://api.github.com/users/jamierocks","html_url":"https://github.com/jamierocks","followers_url":"https://api.github.com/users/jamierocks/followers","following_url":"https://api.github.com/users/jamierocks/following{/other_user}","gists_url":"https://api.github.com/users/jamierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/jamierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamierocks/subscriptions","organizations_url":"https://api.github.com/users/jamierocks/orgs","repos_url":"https://api.github.com/users/jamierocks/repos","events_url":"https://api.github.com/users/jamierocks/events{/privacy}","received_events_url":"https://api.github.com/users/jamierocks/received_events","type":"User","site_admin":false},"repo":{"id":44407521,"name":"SpongeCommon","full_name":"jamierocks/SpongeCommon","owner":{"login":"jamierocks","id":5103549,"avatar_url":"https://avatars.githubusercontent.com/u/5103549?v=3","gravatar_id":"","url":"https://api.github.com/users/jamierocks","html_url":"https://github.com/jamierocks","followers_url":"https://api.github.com/users/jamierocks/followers","following_url":"https://api.github.com/users/jamierocks/following{/other_user}","gists_url":"https://api.github.com/users/jamierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/jamierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamierocks/subscriptions","organizations_url":"https://api.github.com/users/jamierocks/orgs","repos_url":"https://api.github.com/users/jamierocks/repos","events_url":"https://api.github.com/users/jamierocks/events{/privacy}","received_events_url":"https://api.github.com/users/jamierocks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamierocks/SpongeCommon","description":"Shared code between Sponge and SpongeVanilla","fork":true,"url":"https://api.github.com/repos/jamierocks/SpongeCommon","forks_url":"https://api.github.com/repos/jamierocks/SpongeCommon/forks","keys_url":"https://api.github.com/repos/jamierocks/SpongeCommon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamierocks/SpongeCommon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamierocks/SpongeCommon/teams","hooks_url":"https://api.github.com/repos/jamierocks/SpongeCommon/hooks","issue_events_url":"https://api.github.com/repos/jamierocks/SpongeCommon/issues/events{/number}","events_url":"https://api.github.com/repos/jamierocks/SpongeCommon/events","assignees_url":"https://api.github.com/repos/jamierocks/SpongeCommon/assignees{/user}","branches_url":"https://api.github.com/repos/jamierocks/SpongeCommon/branches{/branch}","tags_url":"https://api.github.com/repos/jamierocks/SpongeCommon/tags","blobs_url":"https://api.github.com/repos/jamierocks/SpongeCommon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamierocks/SpongeCommon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamierocks/SpongeCommon/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamierocks/SpongeCommon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamierocks/SpongeCommon/statuses/{sha}","languages_url":"https://api.github.com/repos/jamierocks/SpongeCommon/languages","stargazers_url":"https://api.github.com/repos/jamierocks/SpongeCommon/stargazers","contributors_url":"https://api.github.com/repos/jamierocks/SpongeCommon/contributors","subscribers_url":"https://api.github.com/repos/jamierocks/SpongeCommon/subscribers","subscription_url":"https://api.github.com/repos/jamierocks/SpongeCommon/subscription","commits_url":"https://api.github.com/repos/jamierocks/SpongeCommon/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamierocks/SpongeCommon/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamierocks/SpongeCommon/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamierocks/SpongeCommon/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamierocks/SpongeCommon/contents/{+path}","compare_url":"https://api.github.com/repos/jamierocks/SpongeCommon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamierocks/SpongeCommon/merges","archive_url":"https://api.github.com/repos/jamierocks/SpongeCommon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamierocks/SpongeCommon/downloads","issues_url":"https://api.github.com/repos/jamierocks/SpongeCommon/issues{/number}","pulls_url":"https://api.github.com/repos/jamierocks/SpongeCommon/pulls{/number}","milestones_url":"https://api.github.com/repos/jamierocks/SpongeCommon/milestones{/number}","notifications_url":"https://api.github.com/repos/jamierocks/SpongeCommon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamierocks/SpongeCommon/labels{/name}","releases_url":"https://api.github.com/repos/jamierocks/SpongeCommon/releases{/id}","created_at":"2015-10-16T19:57:41Z","updated_at":"2015-10-16T19:57:44Z","pushed_at":"2015-10-16T21:36:39Z","git_url":"git://github.com/jamierocks/SpongeCommon.git","ssh_url":"git@github.com:jamierocks/SpongeCommon.git","clone_url":"https://github.com/jamierocks/SpongeCommon.git","svn_url":"https://github.com/jamierocks/SpongeCommon","homepage":null,"size":10574,"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":"636e4ca4d68ba6abde8bdd2983c12ea7531aaabd","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-10-15T19:39:55Z","pushed_at":"2015-10-16T21:36:39Z","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":10574,"stargazers_count":49,"watchers_count":49,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":58,"forks":53,"open_issues":58,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208"},"html":{"href":"https://github.com/SpongePowered/SpongeCommon/pull/208"},"issue":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/208"},"comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/SpongePowered/SpongeCommon/statuses/198e17cd7b203dd34f184b60d636a55aefa47995"}}}}