{"action":"created","issue":{"url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/12","repository_url":"https://api.github.com/repos/jmrapp1/TerraLegion","labels_url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/12/comments","events_url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/12/events","html_url":"https://github.com/jmrapp1/TerraLegion/issues/12","id":163713126,"number":12,"title":"Placing grass block over grass","user":{"login":"AppPhil","id":13289189,"avatar_url":"https://avatars.githubusercontent.com/u/13289189?v=3","gravatar_id":"","url":"https://api.github.com/users/AppPhil","html_url":"https://github.com/AppPhil","followers_url":"https://api.github.com/users/AppPhil/followers","following_url":"https://api.github.com/users/AppPhil/following{/other_user}","gists_url":"https://api.github.com/users/AppPhil/gists{/gist_id}","starred_url":"https://api.github.com/users/AppPhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppPhil/subscriptions","organizations_url":"https://api.github.com/users/AppPhil/orgs","repos_url":"https://api.github.com/users/AppPhil/repos","events_url":"https://api.github.com/users/AppPhil/events{/privacy}","received_events_url":"https://api.github.com/users/AppPhil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-04T17:07:39Z","updated_at":"2016-07-07T05:14:02Z","closed_at":null,"body":"When you place a grass block over another grass block the lower one doesn't gets to normal dirt. But maybe that is planned like this."},"comment":{"url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/comments/230980923","html_url":"https://github.com/jmrapp1/TerraLegion/issues/12#issuecomment-230980923","issue_url":"https://api.github.com/repos/jmrapp1/TerraLegion/issues/12","id":230980923,"user":{"login":"jordanb84","id":4323760,"avatar_url":"https://avatars.githubusercontent.com/u/4323760?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanb84","html_url":"https://github.com/jordanb84","followers_url":"https://api.github.com/users/jordanb84/followers","following_url":"https://api.github.com/users/jordanb84/following{/other_user}","gists_url":"https://api.github.com/users/jordanb84/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanb84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanb84/subscriptions","organizations_url":"https://api.github.com/users/jordanb84/orgs","repos_url":"https://api.github.com/users/jordanb84/repos","events_url":"https://api.github.com/users/jordanb84/events{/privacy}","received_events_url":"https://api.github.com/users/jordanb84/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T05:14:02Z","updated_at":"2016-07-07T05:14:02Z","body":"Regarding @AppPhil 's last statement, this seems like a function you'd eventually apply to many blocks, so it might be best to write more reusable code for it instead of hard coding each.\r\n\r\nOne possibility could be a `setReplaceNearby(direction, replaceType, newType)` (bad name) function so blocks could set a type which would be replaced by another type if said block is colliding in the specified location. So for this case, it could be `setReplaceNearby(down, grassType, dirtType)` in the grass block code which would cause grass blocks under other grass blocks to be replaced with dirt.\r\n\r\nOf course, this is pointless if the functionality won't be reused."}}
{"actor":{"display_login":"jordanb84"}}