{"action":"created","issue":{"url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/881","labels_url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/881/comments","events_url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/881/events","html_url":"https://github.com/Wurst-Imperium/Wurst-Client/pull/881","id":85674733,"number":881,"title":"Canbefaced method for NukerLegit","user":{"login":"Nitrogen-Dioxide","id":11248300,"avatar_url":"https://avatars.githubusercontent.com/u/11248300?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitrogen-Dioxide","html_url":"https://github.com/Nitrogen-Dioxide","followers_url":"https://api.github.com/users/Nitrogen-Dioxide/followers","following_url":"https://api.github.com/users/Nitrogen-Dioxide/following{/other_user}","gists_url":"https://api.github.com/users/Nitrogen-Dioxide/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitrogen-Dioxide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitrogen-Dioxide/subscriptions","organizations_url":"https://api.github.com/users/Nitrogen-Dioxide/orgs","repos_url":"https://api.github.com/users/Nitrogen-Dioxide/repos","events_url":"https://api.github.com/users/Nitrogen-Dioxide/events{/privacy}","received_events_url":"https://api.github.com/users/Nitrogen-Dioxide/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/labels/rejected","name":"rejected","color":"e14d41"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-06T01:51:47Z","updated_at":"2015-06-06T15:52:24Z","closed_at":"2015-06-06T12:13:02Z","pull_request":{"url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/pulls/881","html_url":"https://github.com/Wurst-Imperium/Wurst-Client/pull/881","diff_url":"https://github.com/Wurst-Imperium/Wurst-Client/pull/881.diff","patch_url":"https://github.com/Wurst-Imperium/Wurst-Client/pull/881.patch"},"body":"I learned a bunch of things about Java programming these days, now I know how to use switch and make static methods xD.\r\n\r\nWell, It was not so easy than I though to make this method :/, but I find out how Minecraft calculate the light from an block.\r\n\r\nOh, the reason that I made that, is because NukerLegit try to mine blocks that you can't see (inside walls) , making it very easy to get you banned.\r\n\r\nIt checks the light of the block that NukerLegit targets, making it\r\n\"more legit\" by don't breaking blocks that are inside walls. \r\n\r\n![cabefaced_40](https://cloud.githubusercontent.com/assets/11248300/8017757/59eebfb2-0bd5-11e5-892e-023fee1946bf.gif)\r\n\r\nAnd there is a bonus : \r\nit doesn't mine if the block is with light 0 too, making \"suspicious darkness mining\" less noticeable.\r\n\r\nI made it display a chat message to see how it is working (only for debug, must remove it).\r\n\r\nHope you like it."},"comment":{"url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/comments/109606972","html_url":"https://github.com/Wurst-Imperium/Wurst-Client/pull/881#issuecomment-109606972","issue_url":"https://api.github.com/repos/Wurst-Imperium/Wurst-Client/issues/881","id":109606972,"user":{"login":"Nitrogen-Dioxide","id":11248300,"avatar_url":"https://avatars.githubusercontent.com/u/11248300?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitrogen-Dioxide","html_url":"https://github.com/Nitrogen-Dioxide","followers_url":"https://api.github.com/users/Nitrogen-Dioxide/followers","following_url":"https://api.github.com/users/Nitrogen-Dioxide/following{/other_user}","gists_url":"https://api.github.com/users/Nitrogen-Dioxide/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitrogen-Dioxide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitrogen-Dioxide/subscriptions","organizations_url":"https://api.github.com/users/Nitrogen-Dioxide/orgs","repos_url":"https://api.github.com/users/Nitrogen-Dioxide/repos","events_url":"https://api.github.com/users/Nitrogen-Dioxide/events{/privacy}","received_events_url":"https://api.github.com/users/Nitrogen-Dioxide/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T15:52:23Z","updated_at":"2015-06-06T15:52:23Z","body":"@Alexander01998 Yea I noticed that if a block is under a transparent block, the light on it will be 15 on the surface :/.\r\n\r\nAnd what do you mean about breadth first search? "}}