{"action":"created","comment":{"url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/comments/168969073","pull_request_review_id":97419768,"id":168969073,"diff_hunk":"@@ -0,0 +1,61 @@\n+package com.crowsofwar.avatar.common.bending.avatar;\n+\n+import com.crowsofwar.avatar.common.bending.StatusControl;\n+import com.crowsofwar.avatar.common.data.AbilityData;\n+import com.crowsofwar.avatar.common.data.ctx.BendingContext;\n+import com.crowsofwar.avatar.common.entity.AvatarEntity;\n+import com.crowsofwar.avatar.common.entity.EntityElementshard;\n+import com.crowsofwar.avatar.common.entity.EntityFireball;\n+import com.crowsofwar.avatar.common.entity.data.ElementshardBehavior;\n+import com.crowsofwar.avatar.common.entity.data.FireballBehavior;\n+import com.crowsofwar.gorecore.util.Vector;\n+import net.minecraft.entity.EntityLivingBase;\n+import net.minecraft.world.World;;\n+\n+import static com.crowsofwar.avatar.common.bending.StatusControl.CrosshairPosition.LEFT_OF_CROSSHAIR;\n+import static com.crowsofwar.avatar.common.bending.StatusControl.CrosshairPosition.RIGHT_OF_CROSSHAIR;\n+import static com.crowsofwar.avatar.common.controls.AvatarControl.CONTROL_LEFT_CLICK;\n+import static com.crowsofwar.avatar.common.controls.AvatarControl.CONTROL_RIGHT_CLICK;\n+\n+public class StatCtrlThrowElementshard extends StatusControl {\n+\tpublic StatCtrlThrowElementshard() {\n+\t\tsuper(10, CONTROL_RIGHT_CLICK, RIGHT_OF_CROSSHAIR);\n+\t}\n+\n+\tpublic static int shardsLeft;","path":"src/main/java/com/crowsofwar/avatar/common/bending/avatar/StatCtrlThrowElementshard.java","position":25,"original_position":25,"commit_id":"f1db326235202ce1c535b3c39fe36e4c8af03df0","original_commit_id":"f1db326235202ce1c535b3c39fe36e4c8af03df0","user":{"login":"CrowsOfWar","id":12778405,"avatar_url":"https://avatars0.githubusercontent.com/u/12778405?v=4","gravatar_id":"","url":"https://api.github.com/users/CrowsOfWar","html_url":"https://github.com/CrowsOfWar","followers_url":"https://api.github.com/users/CrowsOfWar/followers","following_url":"https://api.github.com/users/CrowsOfWar/following{/other_user}","gists_url":"https://api.github.com/users/CrowsOfWar/gists{/gist_id}","starred_url":"https://api.github.com/users/CrowsOfWar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrowsOfWar/subscriptions","organizations_url":"https://api.github.com/users/CrowsOfWar/orgs","repos_url":"https://api.github.com/users/CrowsOfWar/repos","events_url":"https://api.github.com/users/CrowsOfWar/events{/privacy}","received_events_url":"https://api.github.com/users/CrowsOfWar/received_events","type":"User","site_admin":false},"body":"...where `elementShard` is the instance of the EntityElementShard...\r\n\r\n``` EntityElementshard elementshard = AvatarEntity.lookupControlledEntity(world, EntityElementshard.class, OWNER_OF_ELEMENT_SHARD); ```","created_at":"2018-02-18T22:49:17Z","updated_at":"2018-02-18T22:49:17Z","html_url":"https://github.com/ProjectKorra/AvatarMod/pull/49#discussion_r168969073","pull_request_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/comments/168969073"},"html":{"href":"https://github.com/ProjectKorra/AvatarMod/pull/49#discussion_r168969073"},"pull_request":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49"}},"in_reply_to_id":168806020},"pull_request":{"url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49","id":169445920,"html_url":"https://github.com/ProjectKorra/AvatarMod/pull/49","diff_url":"https://github.com/ProjectKorra/AvatarMod/pull/49.diff","patch_url":"https://github.com/ProjectKorra/AvatarMod/pull/49.patch","issue_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/49","number":49,"state":"open","locked":false,"title":"Avatarbending Merge","user":{"login":"FavouriteDragon","id":24467235,"avatar_url":"https://avatars3.githubusercontent.com/u/24467235?v=4","gravatar_id":"","url":"https://api.github.com/users/FavouriteDragon","html_url":"https://github.com/FavouriteDragon","followers_url":"https://api.github.com/users/FavouriteDragon/followers","following_url":"https://api.github.com/users/FavouriteDragon/following{/other_user}","gists_url":"https://api.github.com/users/FavouriteDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/FavouriteDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FavouriteDragon/subscriptions","organizations_url":"https://api.github.com/users/FavouriteDragon/orgs","repos_url":"https://api.github.com/users/FavouriteDragon/repos","events_url":"https://api.github.com/users/FavouriteDragon/events{/privacy}","received_events_url":"https://api.github.com/users/FavouriteDragon/received_events","type":"User","site_admin":false},"body":"As IntelliJ now absolutely hates the infrastructure, I can't run MC without crashing upon preinitlization (first it hated your block registry code, now it hates your radial menu code- but it doesn't display any errors in the IDE)>","created_at":"2018-02-15T18:11:26Z","updated_at":"2018-02-18T22:49:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b3ad695d68a516fd6c8490e899800bbeb532dfd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49/commits","review_comments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49/comments","review_comment_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/49/comments","statuses_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/statuses/f1db326235202ce1c535b3c39fe36e4c8af03df0","head":{"label":"ProjectKorra:avatarbending","ref":"avatarbending","sha":"f1db326235202ce1c535b3c39fe36e4c8af03df0","user":{"login":"ProjectKorra","id":7855546,"avatar_url":"https://avatars2.githubusercontent.com/u/7855546?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectKorra","html_url":"https://github.com/ProjectKorra","followers_url":"https://api.github.com/users/ProjectKorra/followers","following_url":"https://api.github.com/users/ProjectKorra/following{/other_user}","gists_url":"https://api.github.com/users/ProjectKorra/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectKorra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectKorra/subscriptions","organizations_url":"https://api.github.com/users/ProjectKorra/orgs","repos_url":"https://api.github.com/users/ProjectKorra/repos","events_url":"https://api.github.com/users/ProjectKorra/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectKorra/received_events","type":"Organization","site_admin":false},"repo":{"id":62853949,"name":"AvatarMod","full_name":"ProjectKorra/AvatarMod","owner":{"login":"ProjectKorra","id":7855546,"avatar_url":"https://avatars2.githubusercontent.com/u/7855546?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectKorra","html_url":"https://github.com/ProjectKorra","followers_url":"https://api.github.com/users/ProjectKorra/followers","following_url":"https://api.github.com/users/ProjectKorra/following{/other_user}","gists_url":"https://api.github.com/users/ProjectKorra/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectKorra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectKorra/subscriptions","organizations_url":"https://api.github.com/users/ProjectKorra/orgs","repos_url":"https://api.github.com/users/ProjectKorra/repos","events_url":"https://api.github.com/users/ProjectKorra/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectKorra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProjectKorra/AvatarMod","description":"Mod for Minecraft to add bending from Avatar: The Last Airbender","fork":false,"url":"https://api.github.com/repos/ProjectKorra/AvatarMod","forks_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/forks","keys_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/teams","hooks_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/hooks","issue_events_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/events{/number}","events_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/events","assignees_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/assignees{/user}","branches_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/branches{/branch}","tags_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/tags","blobs_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/statuses/{sha}","languages_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/languages","stargazers_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/stargazers","contributors_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/contributors","subscribers_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/subscribers","subscription_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/subscription","commits_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/contents/{+path}","compare_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/merges","archive_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/downloads","issues_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues{/number}","pulls_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls{/number}","milestones_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/milestones{/number}","notifications_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/labels{/name}","releases_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/releases{/id}","deployments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/deployments","created_at":"2016-07-08T02:53:19Z","updated_at":"2018-01-24T11:34:05Z","pushed_at":"2018-02-16T16:08:41Z","git_url":"git://github.com/ProjectKorra/AvatarMod.git","ssh_url":"git@github.com:ProjectKorra/AvatarMod.git","clone_url":"https://github.com/ProjectKorra/AvatarMod.git","svn_url":"https://github.com/ProjectKorra/AvatarMod","homepage":"http://av2.io","size":53576,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":18,"watchers":6,"default_branch":"master"}},"base":{"label":"ProjectKorra:master","ref":"master","sha":"770a42f3eaa5c6f607adba3968aa70d9677e0aaa","user":{"login":"ProjectKorra","id":7855546,"avatar_url":"https://avatars2.githubusercontent.com/u/7855546?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectKorra","html_url":"https://github.com/ProjectKorra","followers_url":"https://api.github.com/users/ProjectKorra/followers","following_url":"https://api.github.com/users/ProjectKorra/following{/other_user}","gists_url":"https://api.github.com/users/ProjectKorra/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectKorra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectKorra/subscriptions","organizations_url":"https://api.github.com/users/ProjectKorra/orgs","repos_url":"https://api.github.com/users/ProjectKorra/repos","events_url":"https://api.github.com/users/ProjectKorra/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectKorra/received_events","type":"Organization","site_admin":false},"repo":{"id":62853949,"name":"AvatarMod","full_name":"ProjectKorra/AvatarMod","owner":{"login":"ProjectKorra","id":7855546,"avatar_url":"https://avatars2.githubusercontent.com/u/7855546?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectKorra","html_url":"https://github.com/ProjectKorra","followers_url":"https://api.github.com/users/ProjectKorra/followers","following_url":"https://api.github.com/users/ProjectKorra/following{/other_user}","gists_url":"https://api.github.com/users/ProjectKorra/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectKorra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectKorra/subscriptions","organizations_url":"https://api.github.com/users/ProjectKorra/orgs","repos_url":"https://api.github.com/users/ProjectKorra/repos","events_url":"https://api.github.com/users/ProjectKorra/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectKorra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProjectKorra/AvatarMod","description":"Mod for Minecraft to add bending from Avatar: The Last Airbender","fork":false,"url":"https://api.github.com/repos/ProjectKorra/AvatarMod","forks_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/forks","keys_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/teams","hooks_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/hooks","issue_events_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/events{/number}","events_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/events","assignees_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/assignees{/user}","branches_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/branches{/branch}","tags_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/tags","blobs_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/statuses/{sha}","languages_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/languages","stargazers_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/stargazers","contributors_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/contributors","subscribers_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/subscribers","subscription_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/subscription","commits_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/contents/{+path}","compare_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/merges","archive_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/downloads","issues_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues{/number}","pulls_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls{/number}","milestones_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/milestones{/number}","notifications_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/labels{/name}","releases_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/releases{/id}","deployments_url":"https://api.github.com/repos/ProjectKorra/AvatarMod/deployments","created_at":"2016-07-08T02:53:19Z","updated_at":"2018-01-24T11:34:05Z","pushed_at":"2018-02-16T16:08:41Z","git_url":"git://github.com/ProjectKorra/AvatarMod.git","ssh_url":"git@github.com:ProjectKorra/AvatarMod.git","clone_url":"https://github.com/ProjectKorra/AvatarMod.git","svn_url":"https://github.com/ProjectKorra/AvatarMod","homepage":"http://av2.io","size":53576,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":18,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49"},"html":{"href":"https://github.com/ProjectKorra/AvatarMod/pull/49"},"issue":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/49"},"comments":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/ProjectKorra/AvatarMod/statuses/f1db326235202ce1c535b3c39fe36e4c8af03df0"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"CrowsOfWar"}}