{"action":"created","comment":{"url":"https://api.github.com/repos/H4PM/Elywing/pulls/comments/93692240","pull_request_review_id":14225716,"id":93692240,"diff_hunk":"@@ -0,0 +1,57 @@\n+<?php\r\n+\r\n+/*\r\n+ *\r\n+ *  ____          \r\n+ * |  __|_              _\r\n+ * | |__| |      _    _(_)_ __   ___\r\n+ * |  __| |_   _| |  | | | '_ \\ / _ \\\r\n+ * | |__| | | | | |/\\| | | | | | (_) |\r\n+ * |____|_|\\ \\/ \\__/\\__/_|_| |_|\\___ |\r\n+ *         _|  /                 __| |\r\n+ *        |___/                 |____/\r\n+ * \r\n+ * This program is free software: you can redistribute it and/or modify\r\n+ * it under the terms of the GNU Lesser General Public License as published by\r\n+ * the Free Software Foundation, either version 3 of the License, or\r\n+ * (at your option) any later version.\r\n+ *\r\n+ * @author FunnyBuddys\r\n+ * @link http://www.github.net/H4PM\r\n+ * \r\n+ *\r\n+*/\r\n+\r\n+namespace pocketmine\\block;\r\n+\r\n+use pocketmine\\item\\Item;\r\n+use pocketmine\\item\\enchantment\\enchantment;\r\n+\r\n+class ChorusPlant extends Crops{\r\n+\r\n+\tprotected $id = self::CHORUS_PLANT;\r\n+\r\n+\tpublic function __construct($meta = 0){\r\n+\t\t$this->meta = $meta;\r\n+\t}\r\n+    public function getHardness(){\r\n+\treturn 0.4;\r\n+\t\r\n+\tpublic function getToolType(){\r\n+\treturn Tool::TYPE_AXE;\r\n+\t}\r\n+\r\n+\tpublic function getName() : string{\r\n+\t\treturn \"Chorus Plant\";\r\n+\t}\r\n+\r\n+\tpublic function getDrops(Item $item) : array {\r\n+\t\t$drops = [];\r\n+\t\tif($this->meta >= 0x07){\r\n+\t\t\t$fortunel = $item->getEnchantmentLevel(Enchantment::TYPE_MINING_FORTUNE);\r\n+\t\t\t$fortunel = $fortunel > 3 ? 3 : $fortunel;\r\n+\t\t\t$drops[] = [Item::CHORUS_FRUIT, 0, 1];\r","path":"src/pocketmine/block/ChorusPlant.php","position":53,"original_position":53,"commit_id":"88b823f9f8dcf11c3ebf299643824ae89e1365e4","original_commit_id":"88b823f9f8dcf11c3ebf299643824ae89e1365e4","user":{"login":"FunnyBuddys","id":16995710,"avatar_url":"https://avatars.githubusercontent.com/u/16995710?v=3","gravatar_id":"","url":"https://api.github.com/users/FunnyBuddys","html_url":"https://github.com/FunnyBuddys","followers_url":"https://api.github.com/users/FunnyBuddys/followers","following_url":"https://api.github.com/users/FunnyBuddys/following{/other_user}","gists_url":"https://api.github.com/users/FunnyBuddys/gists{/gist_id}","starred_url":"https://api.github.com/users/FunnyBuddys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FunnyBuddys/subscriptions","organizations_url":"https://api.github.com/users/FunnyBuddys/orgs","repos_url":"https://api.github.com/users/FunnyBuddys/repos","events_url":"https://api.github.com/users/FunnyBuddys/events{/privacy}","received_events_url":"https://api.github.com/users/FunnyBuddys/received_events","type":"User","site_admin":false},"body":"Chorus Fruit will i add Later!","created_at":"2016-12-22T20:33:08Z","updated_at":"2016-12-22T20:33:31Z","html_url":"https://github.com/H4PM/Elywing/pull/146#discussion_r93692240","pull_request_url":"https://api.github.com/repos/H4PM/Elywing/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/comments/93692240"},"html":{"href":"https://github.com/H4PM/Elywing/pull/146#discussion_r93692240"},"pull_request":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/H4PM/Elywing/pulls/146","id":99162380,"html_url":"https://github.com/H4PM/Elywing/pull/146","diff_url":"https://github.com/H4PM/Elywing/pull/146.diff","patch_url":"https://github.com/H4PM/Elywing/pull/146.patch","issue_url":"https://api.github.com/repos/H4PM/Elywing/issues/146","number":146,"state":"open","locked":false,"title":"Added 1.0 Blocks","user":{"login":"FunnyBuddys","id":16995710,"avatar_url":"https://avatars.githubusercontent.com/u/16995710?v=3","gravatar_id":"","url":"https://api.github.com/users/FunnyBuddys","html_url":"https://github.com/FunnyBuddys","followers_url":"https://api.github.com/users/FunnyBuddys/followers","following_url":"https://api.github.com/users/FunnyBuddys/following{/other_user}","gists_url":"https://api.github.com/users/FunnyBuddys/gists{/gist_id}","starred_url":"https://api.github.com/users/FunnyBuddys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FunnyBuddys/subscriptions","organizations_url":"https://api.github.com/users/FunnyBuddys/orgs","repos_url":"https://api.github.com/users/FunnyBuddys/repos","events_url":"https://api.github.com/users/FunnyBuddys/events{/privacy}","received_events_url":"https://api.github.com/users/FunnyBuddys/received_events","type":"User","site_admin":false},"body":"Hello Guys, i added some Blocks from 1.0.0 \r\n\r\nItems will i change in another Pull request.","created_at":"2016-12-22T20:06:02Z","updated_at":"2016-12-22T20:33:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba3180aab9ed870bac6cb8f82214b43d4effca86","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/H4PM/Elywing/pulls/146/commits","review_comments_url":"https://api.github.com/repos/H4PM/Elywing/pulls/146/comments","review_comment_url":"https://api.github.com/repos/H4PM/Elywing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/H4PM/Elywing/issues/146/comments","statuses_url":"https://api.github.com/repos/H4PM/Elywing/statuses/88b823f9f8dcf11c3ebf299643824ae89e1365e4","head":{"label":"FunnyBuddys:master","ref":"master","sha":"88b823f9f8dcf11c3ebf299643824ae89e1365e4","user":{"login":"FunnyBuddys","id":16995710,"avatar_url":"https://avatars.githubusercontent.com/u/16995710?v=3","gravatar_id":"","url":"https://api.github.com/users/FunnyBuddys","html_url":"https://github.com/FunnyBuddys","followers_url":"https://api.github.com/users/FunnyBuddys/followers","following_url":"https://api.github.com/users/FunnyBuddys/following{/other_user}","gists_url":"https://api.github.com/users/FunnyBuddys/gists{/gist_id}","starred_url":"https://api.github.com/users/FunnyBuddys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FunnyBuddys/subscriptions","organizations_url":"https://api.github.com/users/FunnyBuddys/orgs","repos_url":"https://api.github.com/users/FunnyBuddys/repos","events_url":"https://api.github.com/users/FunnyBuddys/events{/privacy}","received_events_url":"https://api.github.com/users/FunnyBuddys/received_events","type":"User","site_admin":false},"repo":{"id":77172388,"name":"Elywing","full_name":"FunnyBuddys/Elywing","owner":{"login":"FunnyBuddys","id":16995710,"avatar_url":"https://avatars.githubusercontent.com/u/16995710?v=3","gravatar_id":"","url":"https://api.github.com/users/FunnyBuddys","html_url":"https://github.com/FunnyBuddys","followers_url":"https://api.github.com/users/FunnyBuddys/followers","following_url":"https://api.github.com/users/FunnyBuddys/following{/other_user}","gists_url":"https://api.github.com/users/FunnyBuddys/gists{/gist_id}","starred_url":"https://api.github.com/users/FunnyBuddys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FunnyBuddys/subscriptions","organizations_url":"https://api.github.com/users/FunnyBuddys/orgs","repos_url":"https://api.github.com/users/FunnyBuddys/repos","events_url":"https://api.github.com/users/FunnyBuddys/events{/privacy}","received_events_url":"https://api.github.com/users/FunnyBuddys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FunnyBuddys/Elywing","description":"Elywing is a stable 1.0.0 / 0.17 fork of PocketMine-MP (pmmp).","fork":true,"url":"https://api.github.com/repos/FunnyBuddys/Elywing","forks_url":"https://api.github.com/repos/FunnyBuddys/Elywing/forks","keys_url":"https://api.github.com/repos/FunnyBuddys/Elywing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FunnyBuddys/Elywing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FunnyBuddys/Elywing/teams","hooks_url":"https://api.github.com/repos/FunnyBuddys/Elywing/hooks","issue_events_url":"https://api.github.com/repos/FunnyBuddys/Elywing/issues/events{/number}","events_url":"https://api.github.com/repos/FunnyBuddys/Elywing/events","assignees_url":"https://api.github.com/repos/FunnyBuddys/Elywing/assignees{/user}","branches_url":"https://api.github.com/repos/FunnyBuddys/Elywing/branches{/branch}","tags_url":"https://api.github.com/repos/FunnyBuddys/Elywing/tags","blobs_url":"https://api.github.com/repos/FunnyBuddys/Elywing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FunnyBuddys/Elywing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FunnyBuddys/Elywing/git/refs{/sha}","trees_url":"https://api.github.com/repos/FunnyBuddys/Elywing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FunnyBuddys/Elywing/statuses/{sha}","languages_url":"https://api.github.com/repos/FunnyBuddys/Elywing/languages","stargazers_url":"https://api.github.com/repos/FunnyBuddys/Elywing/stargazers","contributors_url":"https://api.github.com/repos/FunnyBuddys/Elywing/contributors","subscribers_url":"https://api.github.com/repos/FunnyBuddys/Elywing/subscribers","subscription_url":"https://api.github.com/repos/FunnyBuddys/Elywing/subscription","commits_url":"https://api.github.com/repos/FunnyBuddys/Elywing/commits{/sha}","git_commits_url":"https://api.github.com/repos/FunnyBuddys/Elywing/git/commits{/sha}","comments_url":"https://api.github.com/repos/FunnyBuddys/Elywing/comments{/number}","issue_comment_url":"https://api.github.com/repos/FunnyBuddys/Elywing/issues/comments{/number}","contents_url":"https://api.github.com/repos/FunnyBuddys/Elywing/contents/{+path}","compare_url":"https://api.github.com/repos/FunnyBuddys/Elywing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FunnyBuddys/Elywing/merges","archive_url":"https://api.github.com/repos/FunnyBuddys/Elywing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FunnyBuddys/Elywing/downloads","issues_url":"https://api.github.com/repos/FunnyBuddys/Elywing/issues{/number}","pulls_url":"https://api.github.com/repos/FunnyBuddys/Elywing/pulls{/number}","milestones_url":"https://api.github.com/repos/FunnyBuddys/Elywing/milestones{/number}","notifications_url":"https://api.github.com/repos/FunnyBuddys/Elywing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FunnyBuddys/Elywing/labels{/name}","releases_url":"https://api.github.com/repos/FunnyBuddys/Elywing/releases{/id}","deployments_url":"https://api.github.com/repos/FunnyBuddys/Elywing/deployments","created_at":"2016-12-22T20:02:59Z","updated_at":"2016-12-22T20:03:03Z","pushed_at":"2016-12-22T20:05:38Z","git_url":"git://github.com/FunnyBuddys/Elywing.git","ssh_url":"git@github.com:FunnyBuddys/Elywing.git","clone_url":"https://github.com/FunnyBuddys/Elywing.git","svn_url":"https://github.com/FunnyBuddys/Elywing","homepage":"","size":2133,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"H4PM:master","ref":"master","sha":"977f01082552455cd3a87aff75659d53916908a6","user":{"login":"H4PM","id":23013051,"avatar_url":"https://avatars.githubusercontent.com/u/23013051?v=3","gravatar_id":"","url":"https://api.github.com/users/H4PM","html_url":"https://github.com/H4PM","followers_url":"https://api.github.com/users/H4PM/followers","following_url":"https://api.github.com/users/H4PM/following{/other_user}","gists_url":"https://api.github.com/users/H4PM/gists{/gist_id}","starred_url":"https://api.github.com/users/H4PM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H4PM/subscriptions","organizations_url":"https://api.github.com/users/H4PM/orgs","repos_url":"https://api.github.com/users/H4PM/repos","events_url":"https://api.github.com/users/H4PM/events{/privacy}","received_events_url":"https://api.github.com/users/H4PM/received_events","type":"Organization","site_admin":false},"repo":{"id":71705067,"name":"Elywing","full_name":"H4PM/Elywing","owner":{"login":"H4PM","id":23013051,"avatar_url":"https://avatars.githubusercontent.com/u/23013051?v=3","gravatar_id":"","url":"https://api.github.com/users/H4PM","html_url":"https://github.com/H4PM","followers_url":"https://api.github.com/users/H4PM/followers","following_url":"https://api.github.com/users/H4PM/following{/other_user}","gists_url":"https://api.github.com/users/H4PM/gists{/gist_id}","starred_url":"https://api.github.com/users/H4PM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H4PM/subscriptions","organizations_url":"https://api.github.com/users/H4PM/orgs","repos_url":"https://api.github.com/users/H4PM/repos","events_url":"https://api.github.com/users/H4PM/events{/privacy}","received_events_url":"https://api.github.com/users/H4PM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/H4PM/Elywing","description":"Elywing is a stable 1.0.0 / 0.17 fork of PocketMine-MP (pmmp).","fork":false,"url":"https://api.github.com/repos/H4PM/Elywing","forks_url":"https://api.github.com/repos/H4PM/Elywing/forks","keys_url":"https://api.github.com/repos/H4PM/Elywing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/H4PM/Elywing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/H4PM/Elywing/teams","hooks_url":"https://api.github.com/repos/H4PM/Elywing/hooks","issue_events_url":"https://api.github.com/repos/H4PM/Elywing/issues/events{/number}","events_url":"https://api.github.com/repos/H4PM/Elywing/events","assignees_url":"https://api.github.com/repos/H4PM/Elywing/assignees{/user}","branches_url":"https://api.github.com/repos/H4PM/Elywing/branches{/branch}","tags_url":"https://api.github.com/repos/H4PM/Elywing/tags","blobs_url":"https://api.github.com/repos/H4PM/Elywing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/H4PM/Elywing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/H4PM/Elywing/git/refs{/sha}","trees_url":"https://api.github.com/repos/H4PM/Elywing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/H4PM/Elywing/statuses/{sha}","languages_url":"https://api.github.com/repos/H4PM/Elywing/languages","stargazers_url":"https://api.github.com/repos/H4PM/Elywing/stargazers","contributors_url":"https://api.github.com/repos/H4PM/Elywing/contributors","subscribers_url":"https://api.github.com/repos/H4PM/Elywing/subscribers","subscription_url":"https://api.github.com/repos/H4PM/Elywing/subscription","commits_url":"https://api.github.com/repos/H4PM/Elywing/commits{/sha}","git_commits_url":"https://api.github.com/repos/H4PM/Elywing/git/commits{/sha}","comments_url":"https://api.github.com/repos/H4PM/Elywing/comments{/number}","issue_comment_url":"https://api.github.com/repos/H4PM/Elywing/issues/comments{/number}","contents_url":"https://api.github.com/repos/H4PM/Elywing/contents/{+path}","compare_url":"https://api.github.com/repos/H4PM/Elywing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/H4PM/Elywing/merges","archive_url":"https://api.github.com/repos/H4PM/Elywing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/H4PM/Elywing/downloads","issues_url":"https://api.github.com/repos/H4PM/Elywing/issues{/number}","pulls_url":"https://api.github.com/repos/H4PM/Elywing/pulls{/number}","milestones_url":"https://api.github.com/repos/H4PM/Elywing/milestones{/number}","notifications_url":"https://api.github.com/repos/H4PM/Elywing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/H4PM/Elywing/labels{/name}","releases_url":"https://api.github.com/repos/H4PM/Elywing/releases{/id}","deployments_url":"https://api.github.com/repos/H4PM/Elywing/deployments","created_at":"2016-10-23T13:36:14Z","updated_at":"2016-12-21T05:57:14Z","pushed_at":"2016-12-22T20:06:03Z","git_url":"git://github.com/H4PM/Elywing.git","ssh_url":"git@github.com:H4PM/Elywing.git","clone_url":"https://github.com/H4PM/Elywing.git","svn_url":"https://github.com/H4PM/Elywing","homepage":"","size":2133,"stargazers_count":45,"watchers_count":45,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":10,"forks":37,"open_issues":10,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/146"},"html":{"href":"https://github.com/H4PM/Elywing/pull/146"},"issue":{"href":"https://api.github.com/repos/H4PM/Elywing/issues/146"},"comments":{"href":"https://api.github.com/repos/H4PM/Elywing/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/H4PM/Elywing/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/H4PM/Elywing/statuses/88b823f9f8dcf11c3ebf299643824ae89e1365e4"}}}}
{"actor":{"display_login":"FunnyBuddys"}}