{"action":"created","comment":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments/74808877","id":74808877,"diff_hunk":"@@ -0,0 +1,64 @@\n+package com.minecolonies.blocks;\r\n+\r\n+import com.minecolonies.achievements.ModAchievements;\r\n+\r\n+import net.minecraft.block.Block;\r\n+import net.minecraft.block.material.MapColor;\r\n+import net.minecraft.block.material.Material;\r\n+import net.minecraft.block.state.IBlockState;\r\n+import net.minecraft.entity.EntityLivingBase;\r\n+import net.minecraft.entity.player.EntityPlayer;\r\n+import net.minecraft.item.ItemStack;\r\n+import net.minecraft.util.BlockPos;\r\n+import net.minecraft.world.World;\r\n+\r\n+/**\r\n+ * Abstract {@link Block} wrapper.\r\n+ * \r\n+ * @author Isfirs\r\n+ * @since 0.1\r\n+ */\r\n+public abstract class AbstractBlockMineColonies extends Block\r\n+{\r\n+\r\n+    /**\r\n+     * Parent constructor\r\n+     * \r\n+     * @param materialIn\r\n+     * @see Block#Block(Material)\r\n+     */\r\n+    public AbstractBlockMineColonies(Material materialIn)\r\n+    {\r\n+        super(materialIn);\r\n+    }\r\n+\r\n+    /**\r\n+     * Parent constructor\r\n+     * \r\n+     * @param blockMaterialIn\r\n+     * @param blockMapColorIn\r\n+     * @see Block#Block(Material, MapColor)\r\n+     */\r\n+    public AbstractBlockMineColonies(Material blockMaterialIn, MapColor blockMapColorIn)\r\n+    {\r\n+        super(blockMaterialIn, blockMapColorIn);\r\n+    }\r\n+\r\n+    @Override\r\n+    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)\r","path":"src/main/java/com/minecolonies/blocks/AbstractBlockMineColonies.java","position":48,"original_position":48,"commit_id":"7c231c4465c65495e9858e48c21518a7847366cc","original_commit_id":"fc2db862a099b16d77ceaaa53879704402c3fcee","user":{"login":"Isfirs","id":2435878,"avatar_url":"https://avatars.githubusercontent.com/u/2435878?v=3","gravatar_id":"","url":"https://api.github.com/users/Isfirs","html_url":"https://github.com/Isfirs","followers_url":"https://api.github.com/users/Isfirs/followers","following_url":"https://api.github.com/users/Isfirs/following{/other_user}","gists_url":"https://api.github.com/users/Isfirs/gists{/gist_id}","starred_url":"https://api.github.com/users/Isfirs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isfirs/subscriptions","organizations_url":"https://api.github.com/users/Isfirs/orgs","repos_url":"https://api.github.com/users/Isfirs/repos","events_url":"https://api.github.com/users/Isfirs/events{/privacy}","received_events_url":"https://api.github.com/users/Isfirs/received_events","type":"User","site_admin":false},"body":"I asked this on slack and made a diagram to show the purpose of this:\r\n\r\nhttps://minecolonies.slack.com/files/isfirs/F1YJWUC76/blocks.png\r\n\r\nIt should be a not-a-hut place for centralized code.\r\n\r\nIt follows the vanilla way","created_at":"2016-08-15T18:28:08Z","updated_at":"2016-08-15T18:28:08Z","html_url":"https://github.com/Minecolonies/minecolonies/pull/12#discussion_r74808877","pull_request_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments/74808877"},"html":{"href":"https://github.com/Minecolonies/minecolonies/pull/12#discussion_r74808877"},"pull_request":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12","id":81222058,"html_url":"https://github.com/Minecolonies/minecolonies/pull/12","diff_url":"https://github.com/Minecolonies/minecolonies/pull/12.diff","patch_url":"https://github.com/Minecolonies/minecolonies/pull/12.patch","issue_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/12","number":12,"state":"open","locked":false,"title":"Closes #11","user":{"login":"Kostronor","id":644950,"avatar_url":"https://avatars.githubusercontent.com/u/644950?v=3","gravatar_id":"","url":"https://api.github.com/users/Kostronor","html_url":"https://github.com/Kostronor","followers_url":"https://api.github.com/users/Kostronor/followers","following_url":"https://api.github.com/users/Kostronor/following{/other_user}","gists_url":"https://api.github.com/users/Kostronor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kostronor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kostronor/subscriptions","organizations_url":"https://api.github.com/users/Kostronor/orgs","repos_url":"https://api.github.com/users/Kostronor/repos","events_url":"https://api.github.com/users/Kostronor/events{/privacy}","received_events_url":"https://api.github.com/users/Kostronor/received_events","type":"User","site_admin":false},"body":"This is just so we track the progress of achievements\r\n","created_at":"2016-08-13T17:54:43Z","updated_at":"2016-08-15T18:28:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7333b16f67c201959e55bdb82caa2c27785c5151","assignee":{"login":"Isfirs","id":2435878,"avatar_url":"https://avatars.githubusercontent.com/u/2435878?v=3","gravatar_id":"","url":"https://api.github.com/users/Isfirs","html_url":"https://github.com/Isfirs","followers_url":"https://api.github.com/users/Isfirs/followers","following_url":"https://api.github.com/users/Isfirs/following{/other_user}","gists_url":"https://api.github.com/users/Isfirs/gists{/gist_id}","starred_url":"https://api.github.com/users/Isfirs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isfirs/subscriptions","organizations_url":"https://api.github.com/users/Isfirs/orgs","repos_url":"https://api.github.com/users/Isfirs/repos","events_url":"https://api.github.com/users/Isfirs/events{/privacy}","received_events_url":"https://api.github.com/users/Isfirs/received_events","type":"User","site_admin":false},"assignees":[{"login":"Isfirs","id":2435878,"avatar_url":"https://avatars.githubusercontent.com/u/2435878?v=3","gravatar_id":"","url":"https://api.github.com/users/Isfirs","html_url":"https://github.com/Isfirs","followers_url":"https://api.github.com/users/Isfirs/followers","following_url":"https://api.github.com/users/Isfirs/following{/other_user}","gists_url":"https://api.github.com/users/Isfirs/gists{/gist_id}","starred_url":"https://api.github.com/users/Isfirs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isfirs/subscriptions","organizations_url":"https://api.github.com/users/Isfirs/orgs","repos_url":"https://api.github.com/users/Isfirs/repos","events_url":"https://api.github.com/users/Isfirs/events{/privacy}","received_events_url":"https://api.github.com/users/Isfirs/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones/1","html_url":"https://github.com/Minecolonies/minecolonies/milestones/Material%20Handling","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones/1/labels","id":1940358,"number":1,"title":"Material Handling","description":"","creator":{"login":"Kostronor","id":644950,"avatar_url":"https://avatars.githubusercontent.com/u/644950?v=3","gravatar_id":"","url":"https://api.github.com/users/Kostronor","html_url":"https://github.com/Kostronor","followers_url":"https://api.github.com/users/Kostronor/followers","following_url":"https://api.github.com/users/Kostronor/following{/other_user}","gists_url":"https://api.github.com/users/Kostronor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kostronor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kostronor/subscriptions","organizations_url":"https://api.github.com/users/Kostronor/orgs","repos_url":"https://api.github.com/users/Kostronor/repos","events_url":"https://api.github.com/users/Kostronor/events{/privacy}","received_events_url":"https://api.github.com/users/Kostronor/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-08-13T17:38:27Z","updated_at":"2016-08-14T11:38:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/12/comments","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/7c231c4465c65495e9858e48c21518a7847366cc","head":{"label":"Minecolonies:MINECOL-77-achievements","ref":"MINECOL-77-achievements","sha":"7c231c4465c65495e9858e48c21518a7847366cc","user":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"name":"minecolonies","full_name":"Minecolonies/minecolonies","owner":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minecolonies/minecolonies","description":null,"fork":false,"url":"https://api.github.com/repos/Minecolonies/minecolonies","forks_url":"https://api.github.com/repos/Minecolonies/minecolonies/forks","keys_url":"https://api.github.com/repos/Minecolonies/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minecolonies/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minecolonies/minecolonies/teams","hooks_url":"https://api.github.com/repos/Minecolonies/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/Minecolonies/minecolonies/events","assignees_url":"https://api.github.com/repos/Minecolonies/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/Minecolonies/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/tags","blobs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/Minecolonies/minecolonies/languages","stargazers_url":"https://api.github.com/repos/Minecolonies/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/Minecolonies/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscription","commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minecolonies/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/Minecolonies/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minecolonies/minecolonies/merges","archive_url":"https://api.github.com/repos/Minecolonies/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minecolonies/minecolonies/downloads","issues_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/Minecolonies/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/Minecolonies/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/Minecolonies/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2016-08-13T20:53:33Z","pushed_at":"2016-08-15T17:42:25Z","git_url":"git://github.com/Minecolonies/minecolonies.git","ssh_url":"git@github.com:Minecolonies/minecolonies.git","clone_url":"https://github.com/Minecolonies/minecolonies.git","svn_url":"https://github.com/Minecolonies/minecolonies","homepage":null,"size":6117,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":2,"default_branch":"develop"}},"base":{"label":"Minecolonies:develop","ref":"develop","sha":"b5af315f6a290c2d60f1a5888cb2f022c6ec936f","user":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"name":"minecolonies","full_name":"Minecolonies/minecolonies","owner":{"login":"Minecolonies","id":5167336,"avatar_url":"https://avatars.githubusercontent.com/u/5167336?v=3","gravatar_id":"","url":"https://api.github.com/users/Minecolonies","html_url":"https://github.com/Minecolonies","followers_url":"https://api.github.com/users/Minecolonies/followers","following_url":"https://api.github.com/users/Minecolonies/following{/other_user}","gists_url":"https://api.github.com/users/Minecolonies/gists{/gist_id}","starred_url":"https://api.github.com/users/Minecolonies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minecolonies/subscriptions","organizations_url":"https://api.github.com/users/Minecolonies/orgs","repos_url":"https://api.github.com/users/Minecolonies/repos","events_url":"https://api.github.com/users/Minecolonies/events{/privacy}","received_events_url":"https://api.github.com/users/Minecolonies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minecolonies/minecolonies","description":null,"fork":false,"url":"https://api.github.com/repos/Minecolonies/minecolonies","forks_url":"https://api.github.com/repos/Minecolonies/minecolonies/forks","keys_url":"https://api.github.com/repos/Minecolonies/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minecolonies/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minecolonies/minecolonies/teams","hooks_url":"https://api.github.com/repos/Minecolonies/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/Minecolonies/minecolonies/events","assignees_url":"https://api.github.com/repos/Minecolonies/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/Minecolonies/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/tags","blobs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/Minecolonies/minecolonies/languages","stargazers_url":"https://api.github.com/repos/Minecolonies/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/Minecolonies/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/Minecolonies/minecolonies/subscription","commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minecolonies/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minecolonies/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/Minecolonies/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minecolonies/minecolonies/merges","archive_url":"https://api.github.com/repos/Minecolonies/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minecolonies/minecolonies/downloads","issues_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/Minecolonies/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/Minecolonies/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/Minecolonies/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/Minecolonies/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/Minecolonies/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2016-08-13T20:53:33Z","pushed_at":"2016-08-15T17:42:25Z","git_url":"git://github.com/Minecolonies/minecolonies.git","ssh_url":"git@github.com:Minecolonies/minecolonies.git","clone_url":"https://github.com/Minecolonies/minecolonies.git","svn_url":"https://github.com/Minecolonies/minecolonies","homepage":null,"size":6117,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":21,"forks":1,"open_issues":21,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12"},"html":{"href":"https://github.com/Minecolonies/minecolonies/pull/12"},"issue":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/issues/12"},"comments":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Minecolonies/minecolonies/statuses/7c231c4465c65495e9858e48c21518a7847366cc"}}}}
{"actor":{"display_login":"Isfirs"}}