{"action":"created","issue":{"url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/739","repository_url":"https://api.github.com/repos/PrismarineJS/mineflayer","labels_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/739/comments","events_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/739/events","html_url":"https://github.com/PrismarineJS/mineflayer/issues/739","id":376830841,"node_id":"MDU6SXNzdWUzNzY4MzA4NDE=","number":739,"title":"let the bot sow and harvest plants?","user":{"login":"ahibbe","id":44087541,"node_id":"MDQ6VXNlcjQ0MDg3NTQx","avatar_url":"https://avatars1.githubusercontent.com/u/44087541?v=4","gravatar_id":"","url":"https://api.github.com/users/ahibbe","html_url":"https://github.com/ahibbe","followers_url":"https://api.github.com/users/ahibbe/followers","following_url":"https://api.github.com/users/ahibbe/following{/other_user}","gists_url":"https://api.github.com/users/ahibbe/gists{/gist_id}","starred_url":"https://api.github.com/users/ahibbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahibbe/subscriptions","organizations_url":"https://api.github.com/users/ahibbe/orgs","repos_url":"https://api.github.com/users/ahibbe/repos","events_url":"https://api.github.com/users/ahibbe/events{/privacy}","received_events_url":"https://api.github.com/users/ahibbe/received_events","type":"User","site_admin":false},"labels":[{"id":111395,"node_id":"MDU6TGFiZWwxMTEzOTU=","url":"https://api.github.com/repos/PrismarineJS/mineflayer/labels/new%20feature","name":"new feature","color":"444444","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-02T14:24:17Z","updated_at":"2018-11-04T14:12:13Z","closed_at":null,"author_association":"NONE","body":"* what you want to do (the objective in english)\r\nI want to let the bot sow and harvest plants?\r\n\r\n* what you tried (the code)\r\nnothing, I expected someting like:\r\n\r\n if (bot.canCanHarvest(block)) \r\n  bot.harvest(block, onHarvestCompleted)\r\n....\r\n\r\nI do not need a complete code just a few key words where to look, if that's possible. Unfortunately I did not find anything in the examples\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/comments/435673040","html_url":"https://github.com/PrismarineJS/mineflayer/issues/739#issuecomment-435673040","issue_url":"https://api.github.com/repos/PrismarineJS/mineflayer/issues/739","id":435673040,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTY3MzA0MA==","user":{"login":"rom1504","id":2346494,"node_id":"MDQ6VXNlcjIzNDY0OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2346494?v=4","gravatar_id":"","url":"https://api.github.com/users/rom1504","html_url":"https://github.com/rom1504","followers_url":"https://api.github.com/users/rom1504/followers","following_url":"https://api.github.com/users/rom1504/following{/other_user}","gists_url":"https://api.github.com/users/rom1504/gists{/gist_id}","starred_url":"https://api.github.com/users/rom1504/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rom1504/subscriptions","organizations_url":"https://api.github.com/users/rom1504/orgs","repos_url":"https://api.github.com/users/rom1504/repos","events_url":"https://api.github.com/users/rom1504/events{/privacy}","received_events_url":"https://api.github.com/users/rom1504/received_events","type":"User","site_admin":false},"created_at":"2018-11-04T14:12:13Z","updated_at":"2018-11-04T14:12:13Z","author_association":"MEMBER","body":"I think an example showing how to do that would be nice, feel free to create open when you made it work @ahibbe "}}
{"actor":{"display_login":"rom1504"}}