{"action":"created","issue":{"url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/9","labels_url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/9/comments","events_url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/9/events","html_url":"https://github.com/Draco18s/HarderStuff/issues/9","id":111986895,"number":9,"title":"HOWTO: Add harder ores to an autominer","user":{"login":"Baughn","id":45811,"avatar_url":"https://avatars.githubusercontent.com/u/45811?v=3","gravatar_id":"","url":"https://api.github.com/users/Baughn","html_url":"https://github.com/Baughn","followers_url":"https://api.github.com/users/Baughn/followers","following_url":"https://api.github.com/users/Baughn/following{/other_user}","gists_url":"https://api.github.com/users/Baughn/gists{/gist_id}","starred_url":"https://api.github.com/users/Baughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baughn/subscriptions","organizations_url":"https://api.github.com/users/Baughn/orgs","repos_url":"https://api.github.com/users/Baughn/repos","events_url":"https://api.github.com/users/Baughn/events{/privacy}","received_events_url":"https://api.github.com/users/Baughn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-17T21:52:06Z","updated_at":"2015-10-17T22:53:17Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to add support for Harder Ores to the Electrical Age auto-miner. I hope you can help me figure out how...\r\n\r\nI'm probably meant to use IHardStones::isUnstableBlock to check if a stone is part of HO. Right? But what do I do with it afterwards, to actually break it?\r\n\r\nAs a stopgap, I guess I'll grab the block itself instead of breaking it."},"comment":{"url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/comments/148958582","html_url":"https://github.com/Draco18s/HarderStuff/issues/9#issuecomment-148958582","issue_url":"https://api.github.com/repos/Draco18s/HarderStuff/issues/9","id":148958582,"user":{"login":"Draco18s","id":1750680,"avatar_url":"https://avatars.githubusercontent.com/u/1750680?v=3","gravatar_id":"","url":"https://api.github.com/users/Draco18s","html_url":"https://github.com/Draco18s","followers_url":"https://api.github.com/users/Draco18s/followers","following_url":"https://api.github.com/users/Draco18s/following{/other_user}","gists_url":"https://api.github.com/users/Draco18s/gists{/gist_id}","starred_url":"https://api.github.com/users/Draco18s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Draco18s/subscriptions","organizations_url":"https://api.github.com/users/Draco18s/orgs","repos_url":"https://api.github.com/users/Draco18s/repos","events_url":"https://api.github.com/users/Draco18s/events{/privacy}","received_events_url":"https://api.github.com/users/Draco18s/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T22:53:17Z","updated_at":"2015-10-17T22:53:17Z","body":"Do an instanceof check for BlockHardOreBase.\r\n\r\nThe other bit (diamond, etc) is trickier.  As that's not even currently encoded as a block-level value.\r\n\r\nAlternatively, IHardRecipes::getOreList() will return a hashmap where the Keys are all HardOre blocks (+redstone) so you could do hash.containsKey() on the block in question.  Then if the dropped item is Items.redstone_dust to ignore the metadata.  This method would work for any other blocks that have been registered with my mod as well.\r\n\r\nBut the metadeduction would require some refactoring on my part."}}