{"action":"created","comment":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/200850670","pull_request_review_id":135242729,"id":200850670,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg1MDY3MA==","diff_hunk":"@@ -31,52 +32,54 @@ public ItemCompost()\n         maxStackSize = MAX_STACK_SIZE;\n     }\n \n-    /**\n-     * /whenever player right click a block with this \"compost item\", call this\n-     * method.\n-     *\n-     * @param stack    the right clicked stack.\n-     * @param playerIn the player doing it.\n-     * @param worldIn  the world.\n-     * @param pos      the position.\n-     * @param side     the side he clicks it.\n-     * @param hitX     the x hit position.\n-     * @param hitY     the y hit position.\n-     * @param hitZ     the z hit position.\n-     * @return true if succesful.\n-     */\n-    public boolean onItemUse(\n-                              final ItemStack stack,\n-                              final EntityPlayer playerIn,\n-                              final World worldIn,\n-                              final BlockPos pos,\n-                              final EnumFacing side,\n-                              final float hitX,\n-                              final float hitY,\n-                              final float hitZ)\n+    @Override\n+    public EnumActionResult onItemUse(EntityPlayer player, World worldIn, BlockPos pos, EnumHand hand,\n+                                      final EnumFacing facing, float hitX, float hitY, float hitZ)","path":"src/main/java/com/minecolonies/coremod/items/ItemCompost.java","position":61,"original_position":61,"commit_id":"f0ce67e1955b95f85626130fa39a12fa20da4bf4","original_commit_id":"f0ce67e1955b95f85626130fa39a12fa20da4bf4","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Parameter 'hitX' is not assigned and could be declared final](https://app.codacy.com/app/Minecolonies/minecolonies/pullRequest?prid=1875215)","created_at":"2018-07-08T19:22:57Z","updated_at":"2018-07-08T19:22:57Z","html_url":"https://github.com/ldtteam/minecolonies/pull/2605#discussion_r200850670","pull_request_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/200850670"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2605#discussion_r200850670"},"pull_request":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605"}}},"pull_request":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605","id":199954945,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTU0OTQ1","html_url":"https://github.com/ldtteam/minecolonies/pull/2605","diff_url":"https://github.com/ldtteam/minecolonies/pull/2605.diff","patch_url":"https://github.com/ldtteam/minecolonies/pull/2605.patch","issue_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605","number":2605,"state":"open","locked":false,"title":"Feature/compost block","user":{"login":"Fireruner","id":25698007,"node_id":"MDQ6VXNlcjI1Njk4MDA3","avatar_url":"https://avatars0.githubusercontent.com/u/25698007?v=4","gravatar_id":"","url":"https://api.github.com/users/Fireruner","html_url":"https://github.com/Fireruner","followers_url":"https://api.github.com/users/Fireruner/followers","following_url":"https://api.github.com/users/Fireruner/following{/other_user}","gists_url":"https://api.github.com/users/Fireruner/gists{/gist_id}","starred_url":"https://api.github.com/users/Fireruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fireruner/subscriptions","organizations_url":"https://api.github.com/users/Fireruner/orgs","repos_url":"https://api.github.com/users/Fireruner/repos","events_url":"https://api.github.com/users/Fireruner/events{/privacy}","received_events_url":"https://api.github.com/users/Fireruner/received_events","type":"User","site_admin":false},"body":"\r\n# Changes proposed in this pull request:\r\n- Added the Compost Item, an Item that behaves like BoneMeal to the plants and cannot be crafted nor used as a dye.\r\n- Adde the Barrel Block, a block that takes biolical items (can be set on configurations) and process them. After 2 days (average) the block will emit particles to show that it finished, and will drop 6 Compost Items when the player interacts whit it.\r\n\r\nReview please\r\n","created_at":"2018-07-08T18:45:27Z","updated_at":"2018-07-08T19:22:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a35ce7286c57fead6f680dcd1715a80e94ed0a26","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":987318008,"node_id":"MDU6TGFiZWw5ODczMTgwMDg=","url":"https://api.github.com/repos/ldtteam/minecolonies/labels/feature","name":"feature","color":"e2b128","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/commits","review_comments_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/comments","review_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605/comments","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/f0ce67e1955b95f85626130fa39a12fa20da4bf4","head":{"label":"ldtteam:feature/compostBlock","ref":"feature/compostBlock","sha":"f0ce67e1955b95f85626130fa39a12fa20da4bf4","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-07-06T01:43:55Z","pushed_at":"2018-07-08T19:20:01Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":52486,"stargazers_count":97,"watchers_count":97,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":151,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":83,"open_issues":151,"watchers":97,"default_branch":"version/1.12"}},"base":{"label":"ldtteam:version/1.12","ref":"version/1.12","sha":"4486d71be01fd00e2e856a22bc5ba8fe745ec215","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-07-06T01:43:55Z","pushed_at":"2018-07-08T19:20:01Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":52486,"stargazers_count":97,"watchers_count":97,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":151,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":83,"open_issues":151,"watchers":97,"default_branch":"version/1.12"}},"_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2605"},"issue":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605"},"comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605/comments"},"review_comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/comments"},"review_comment":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/commits"},"statuses":{"href":"https://api.github.com/repos/ldtteam/minecolonies/statuses/f0ce67e1955b95f85626130fa39a12fa20da4bf4"}},"author_association":"NONE"}}
{"actor":{"display_login":"codacy-bot"}}