{"action":"opened","number":3192,"pull_request":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192","id":81244604,"html_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3192","diff_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3192.diff","patch_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3192.patch","issue_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3192","number":3192,"state":"open","locked":false,"title":"Expand getHarvestLevel to include player and blockstate","user":{"login":"bonii-xx","id":722449,"avatar_url":"https://avatars.githubusercontent.com/u/722449?v=3","gravatar_id":"","url":"https://api.github.com/users/bonii-xx","html_url":"https://github.com/bonii-xx","followers_url":"https://api.github.com/users/bonii-xx/followers","following_url":"https://api.github.com/users/bonii-xx/following{/other_user}","gists_url":"https://api.github.com/users/bonii-xx/gists{/gist_id}","starred_url":"https://api.github.com/users/bonii-xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonii-xx/subscriptions","organizations_url":"https://api.github.com/users/bonii-xx/orgs","repos_url":"https://api.github.com/users/bonii-xx/repos","events_url":"https://api.github.com/users/bonii-xx/events{/privacy}","received_events_url":"https://api.github.com/users/bonii-xx/received_events","type":"User","site_admin":false},"body":"This allows for conditional harvest level tools, like only allowing players to harvest X with your tool if they got an achievement first. The test item in the test mod turns into a pickaxe if the player is wearing a helmet.\r\n\r\nForgeHooks.canHarvestBlock could also be supplemented with an Event, however everything not using the forge hook would then not be caught in the changes.\r\n\r\nForgeHooks.canToolHarvestBlock has been marked es deprecated, since it's not used anywhere but would require a signature change to adapt, breaking backwards compatibility.","created_at":"2016-08-14T14:07:11Z","updated_at":"2016-08-14T14:07:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192/commits","review_comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192/comments","review_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3192/comments","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/01964983afe2e3ce797e640fecd9886638e86f79","head":{"label":"bonii-xx:harvest","ref":"harvest","sha":"01964983afe2e3ce797e640fecd9886638e86f79","user":{"login":"bonii-xx","id":722449,"avatar_url":"https://avatars.githubusercontent.com/u/722449?v=3","gravatar_id":"","url":"https://api.github.com/users/bonii-xx","html_url":"https://github.com/bonii-xx","followers_url":"https://api.github.com/users/bonii-xx/followers","following_url":"https://api.github.com/users/bonii-xx/following{/other_user}","gists_url":"https://api.github.com/users/bonii-xx/gists{/gist_id}","starred_url":"https://api.github.com/users/bonii-xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonii-xx/subscriptions","organizations_url":"https://api.github.com/users/bonii-xx/orgs","repos_url":"https://api.github.com/users/bonii-xx/repos","events_url":"https://api.github.com/users/bonii-xx/events{/privacy}","received_events_url":"https://api.github.com/users/bonii-xx/received_events","type":"User","site_admin":false},"repo":{"id":37649476,"name":"MinecraftForge","full_name":"bonii-xx/MinecraftForge","owner":{"login":"bonii-xx","id":722449,"avatar_url":"https://avatars.githubusercontent.com/u/722449?v=3","gravatar_id":"","url":"https://api.github.com/users/bonii-xx","html_url":"https://github.com/bonii-xx","followers_url":"https://api.github.com/users/bonii-xx/followers","following_url":"https://api.github.com/users/bonii-xx/following{/other_user}","gists_url":"https://api.github.com/users/bonii-xx/gists{/gist_id}","starred_url":"https://api.github.com/users/bonii-xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonii-xx/subscriptions","organizations_url":"https://api.github.com/users/bonii-xx/orgs","repos_url":"https://api.github.com/users/bonii-xx/repos","events_url":"https://api.github.com/users/bonii-xx/events{/privacy}","received_events_url":"https://api.github.com/users/bonii-xx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bonii-xx/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":true,"url":"https://api.github.com/repos/bonii-xx/MinecraftForge","forks_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/forks","keys_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/events","assignees_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/merges","archive_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/bonii-xx/MinecraftForge/deployments","created_at":"2015-06-18T09:11:12Z","updated_at":"2016-02-14T16:02:11Z","pushed_at":"2016-08-14T14:03:45Z","git_url":"git://github.com/bonii-xx/MinecraftForge.git","ssh_url":"git@github.com:bonii-xx/MinecraftForge.git","clone_url":"https://github.com/bonii-xx/MinecraftForge.git","svn_url":"https://github.com/bonii-xx/MinecraftForge","homepage":"","size":88062,"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":"MinecraftForge:1.10.x","ref":"1.10.x","sha":"0e286f880ec64190c3aa7db73fcafb45b991ee28","user":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"repo":{"id":3301400,"name":"MinecraftForge","full_name":"MinecraftForge/MinecraftForge","owner":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinecraftForge/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":false,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge","forks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/forks","keys_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/events","assignees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/merges","archive_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/deployments","created_at":"2012-01-30T01:35:01Z","updated_at":"2016-08-14T03:45:04Z","pushed_at":"2016-08-14T14:04:36Z","git_url":"git://github.com/MinecraftForge/MinecraftForge.git","ssh_url":"git@github.com:MinecraftForge/MinecraftForge.git","clone_url":"https://github.com/MinecraftForge/MinecraftForge.git","svn_url":"https://github.com/MinecraftForge/MinecraftForge","homepage":"","size":153117,"stargazers_count":1498,"watchers_count":1498,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":816,"mirror_url":null,"open_issues_count":200,"forks":816,"open_issues":200,"watchers":1498,"default_branch":"1.10.x"}},"_links":{"self":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192"},"html":{"href":"https://github.com/MinecraftForge/MinecraftForge/pull/3192"},"issue":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3192"},"comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3192/comments"},"review_comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192/comments"},"review_comment":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3192/commits"},"statuses":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/01964983afe2e3ce797e640fecd9886638e86f79"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":61,"deletions":14,"changed_files":4}}
{"actor":{"display_login":"bonii-xx"}}