{"action":"opened","number":1247,"pull_request":{"url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247","id":146671583,"html_url":"https://github.com/Blood-Asp/GT5-Unofficial/pull/1247","diff_url":"https://github.com/Blood-Asp/GT5-Unofficial/pull/1247.diff","patch_url":"https://github.com/Blood-Asp/GT5-Unofficial/pull/1247.patch","issue_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/1247","number":1247,"state":"open","locked":false,"title":"Oregen Refactor","user":{"login":"Antifluxfield","id":17354844,"avatar_url":"https://avatars3.githubusercontent.com/u/17354844?v=4","gravatar_id":"","url":"https://api.github.com/users/Antifluxfield","html_url":"https://github.com/Antifluxfield","followers_url":"https://api.github.com/users/Antifluxfield/followers","following_url":"https://api.github.com/users/Antifluxfield/following{/other_user}","gists_url":"https://api.github.com/users/Antifluxfield/gists{/gist_id}","starred_url":"https://api.github.com/users/Antifluxfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antifluxfield/subscriptions","organizations_url":"https://api.github.com/users/Antifluxfield/orgs","repos_url":"https://api.github.com/users/Antifluxfield/repos","events_url":"https://api.github.com/users/Antifluxfield/events{/privacy}","received_events_url":"https://api.github.com/users/Antifluxfield/received_events","type":"User","site_admin":false},"body":"Based on #1227 .\r\n1. Covered most of the config change, to better parsing the old config and to suit my format. All config modules can be freely extended.\r\n2. Custom ore blocks. Designed to customize the compatibility for mods like GalaxySpace and so on, so you are not suggested to do some strange thing.\r\n`blockores {\r\n\r\n    custom01 { #Unlocalized name postfix of this block.\r\n        S:HarvestTool_pickaxe=pickaxe #Harvest tool of this block\r\n\r\n        0 { #Subtype 0, the 1st subtype of this block. Maximum 8.\r\n            D:BasicHardness_1.0=50.0 #Hardness of this subtype won't be lower than this value.\r\n            I:BlockMeta_0=0 #Meta ID of the block which this subtype will replace when oregen\r\n            S:Block_NULL=minecraft:Obsidian #Name of the block which this subtype will replace when oregen\r\n            S:\"DustToDrop_Material:NULL\"=Material:Obsidian #The dropped \"stone\" dust  when harvesting small ores, and the 3rd byproduct in the pulverization recipe. Use \"Item:<item name>\" for items.\r\n            B:Enabled_false=false #Set false to disable this subtype.\r\n            S:OrePrefix_ore=ore #OrePrefix of this subtype.\r\n        }\r\n}`\r\nGC & UB blocks are also configurable.\r\n3. Custom stone, small ore, asteroid, and ore vein generation.\r\nStones:\r\n`        custom_stone {\r\n            I:BlockMeta_0=0 #Meta id of the block of this stone\r\n            S:Block_NULL=NULL #Block name of the block of this stone\r\n\r\n            custom_scale {\r\n                B:AllowedToGenerateInVoid_false=false\r\n                I:Amount_0=1 #Amount of stones the generator will try to generate. Suggest to be 1.\r\n                S:DimensionWhiteList < #Dimension white list. Empty list meas won't generate in any dimension.\r\n                    Overworld #Dimension name\r\n                    ?End #Match the dimensions whose name contains \"End\"\r\n                    @Hell #Match the dimensions whose class name contains \"Hell\"\r\n                    -28 #Dimension ID\r\n                 >\r\n                I:MaxY_0=0\r\n                I:MinHeight_0=0\r\n                I:Probability_0=0\r\n                S:RestrictedBiomes < #Biome white list. Unlike the dimension list, empty list meas no restriction.\r\n                 >\r\n                I:Size_0=0\r\n            }\r\n\r\n        }`\r\nSmall ores:\r\n`small {\r\n\r\n            custom {\r\n                I:Amount_0=0\r\n                S:DimensionWhiteList <\r\n                 >\r\n                I:MaxHeight_0=0\r\n                I:MinHeight_0=0\r\n                S:Ore_NULL=NULL #Material name of the small ore. Support the numerical id.\r\n                S:RestrictedBiomes <\r\n                 >\r\n            }\r\n}`\r\nAsteroids:\r\n`    asteroid {\r\n\r\n        custom_asteroid { #Name of the asteroid\r\n            I:BlockMeta_0=0 #Meta id for the block of the asteroid\r\n            S:Block_NULL=NULL #Block name for the block of the asteroid\r\n            S:DimensionWhiteList <\r\n             >\r\n            I:MaxHeight_0=0\r\n            I:MaxSize_0=0\r\n            I:MinHeight_0=0\r\n            I:MinSize_0=0\r\n            I:Probability_0=0\r\n            S:RestrictedBiomes <\r\n             >\r\n        }\r\n}`\r\nOre vein:\r\n`        mix {\r\n\r\n            custom {\r\n                S:Asteroids < \r\n                 >#The name of the asteroids above. The asteroids will use their own dimension white list, so this list only tells the asteroid which vein they can use.\r\n                I:Density_0=0 #Now density argument will also affect asteroids.\r\n                S:DimensionWhiteList <\r\n                 >\r\n                I:MaxHeight_0=0\r\n                I:MinHeight_0=0\r\n                S:OrePrimaryLayer <#Ores in each layer\r\n                    Material:Copper::60 #GT copper ore, with weight 60 in this layer.\r\n                    Material:Iron::30 #GT Iron ore, with weight 30 in this layer.\r\n                 >\r\n                S:OreSecondaryLayer <\r\n                    Material:67 #GT neodymium ore, with default weight 100 in this layer\r\n                 >\r\n                S:OreSporadiclyInbetween <\r\n                    Block:minecraft:restone_block::45 #Vanilla redstone block, weight 45\r\n                 >\r\n                S:OreSporaticlyAround <\r\n                    Block:dirt:1::30 #Vanilla dirt block with meta 1, weight 30\r\n                 >\r\n                I:RandomWeight_0=0\r\n                S:RestrictedBiomes <\r\n                 >\r\n                I:Size_0=0\r\n                I:Thickness_7=7 #Thickness of the vein. Minimum 5.\r\n            }\r\n}`","created_at":"2017-10-15T22:05:46Z","updated_at":"2017-10-15T22:05:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247/commits","review_comments_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247/comments","review_comment_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/1247/comments","statuses_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/statuses/e04ae1f2701ceecf50a9e0325b765b36d071ebc2","head":{"label":"Antifluxfield:oregen_fix_alt","ref":"oregen_fix_alt","sha":"e04ae1f2701ceecf50a9e0325b765b36d071ebc2","user":{"login":"Antifluxfield","id":17354844,"avatar_url":"https://avatars3.githubusercontent.com/u/17354844?v=4","gravatar_id":"","url":"https://api.github.com/users/Antifluxfield","html_url":"https://github.com/Antifluxfield","followers_url":"https://api.github.com/users/Antifluxfield/followers","following_url":"https://api.github.com/users/Antifluxfield/following{/other_user}","gists_url":"https://api.github.com/users/Antifluxfield/gists{/gist_id}","starred_url":"https://api.github.com/users/Antifluxfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antifluxfield/subscriptions","organizations_url":"https://api.github.com/users/Antifluxfield/orgs","repos_url":"https://api.github.com/users/Antifluxfield/repos","events_url":"https://api.github.com/users/Antifluxfield/events{/privacy}","received_events_url":"https://api.github.com/users/Antifluxfield/received_events","type":"User","site_admin":false},"repo":{"id":96776216,"name":"GT5-Unofficial","full_name":"Antifluxfield/GT5-Unofficial","owner":{"login":"Antifluxfield","id":17354844,"avatar_url":"https://avatars3.githubusercontent.com/u/17354844?v=4","gravatar_id":"","url":"https://api.github.com/users/Antifluxfield","html_url":"https://github.com/Antifluxfield","followers_url":"https://api.github.com/users/Antifluxfield/followers","following_url":"https://api.github.com/users/Antifluxfield/following{/other_user}","gists_url":"https://api.github.com/users/Antifluxfield/gists{/gist_id}","starred_url":"https://api.github.com/users/Antifluxfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antifluxfield/subscriptions","organizations_url":"https://api.github.com/users/Antifluxfield/orgs","repos_url":"https://api.github.com/users/Antifluxfield/repos","events_url":"https://api.github.com/users/Antifluxfield/events{/privacy}","received_events_url":"https://api.github.com/users/Antifluxfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Antifluxfield/GT5-Unofficial","description":"Decompiled and modified version of GT5.07.07","fork":true,"url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial","forks_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/forks","keys_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/teams","hooks_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/hooks","issue_events_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/issues/events{/number}","events_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/events","assignees_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/assignees{/user}","branches_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/branches{/branch}","tags_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/tags","blobs_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/git/refs{/sha}","trees_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/statuses/{sha}","languages_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/languages","stargazers_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/stargazers","contributors_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/contributors","subscribers_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/subscribers","subscription_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/subscription","commits_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/commits{/sha}","git_commits_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/git/commits{/sha}","comments_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/comments{/number}","issue_comment_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/issues/comments{/number}","contents_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/contents/{+path}","compare_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/merges","archive_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/downloads","issues_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/issues{/number}","pulls_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/pulls{/number}","milestones_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/milestones{/number}","notifications_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/labels{/name}","releases_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/releases{/id}","deployments_url":"https://api.github.com/repos/Antifluxfield/GT5-Unofficial/deployments","created_at":"2017-07-10T12:42:30Z","updated_at":"2017-07-10T12:42:37Z","pushed_at":"2017-10-15T21:33:10Z","git_url":"git://github.com/Antifluxfield/GT5-Unofficial.git","ssh_url":"git@github.com:Antifluxfield/GT5-Unofficial.git","clone_url":"https://github.com/Antifluxfield/GT5-Unofficial.git","svn_url":"https://github.com/Antifluxfield/GT5-Unofficial","homepage":null,"size":94574,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"unstable"}},"base":{"label":"Blood-Asp:unstable","ref":"unstable","sha":"2d8df8d14518d41ff075a63084950ff429a9b09b","user":{"login":"Blood-Asp","id":8116649,"avatar_url":"https://avatars1.githubusercontent.com/u/8116649?v=4","gravatar_id":"","url":"https://api.github.com/users/Blood-Asp","html_url":"https://github.com/Blood-Asp","followers_url":"https://api.github.com/users/Blood-Asp/followers","following_url":"https://api.github.com/users/Blood-Asp/following{/other_user}","gists_url":"https://api.github.com/users/Blood-Asp/gists{/gist_id}","starred_url":"https://api.github.com/users/Blood-Asp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blood-Asp/subscriptions","organizations_url":"https://api.github.com/users/Blood-Asp/orgs","repos_url":"https://api.github.com/users/Blood-Asp/repos","events_url":"https://api.github.com/users/Blood-Asp/events{/privacy}","received_events_url":"https://api.github.com/users/Blood-Asp/received_events","type":"User","site_admin":false},"repo":{"id":34465642,"name":"GT5-Unofficial","full_name":"Blood-Asp/GT5-Unofficial","owner":{"login":"Blood-Asp","id":8116649,"avatar_url":"https://avatars1.githubusercontent.com/u/8116649?v=4","gravatar_id":"","url":"https://api.github.com/users/Blood-Asp","html_url":"https://github.com/Blood-Asp","followers_url":"https://api.github.com/users/Blood-Asp/followers","following_url":"https://api.github.com/users/Blood-Asp/following{/other_user}","gists_url":"https://api.github.com/users/Blood-Asp/gists{/gist_id}","starred_url":"https://api.github.com/users/Blood-Asp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blood-Asp/subscriptions","organizations_url":"https://api.github.com/users/Blood-Asp/orgs","repos_url":"https://api.github.com/users/Blood-Asp/repos","events_url":"https://api.github.com/users/Blood-Asp/events{/privacy}","received_events_url":"https://api.github.com/users/Blood-Asp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Blood-Asp/GT5-Unofficial","description":"Decompiled and modified version of GT5.07.07","fork":false,"url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial","forks_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/forks","keys_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/teams","hooks_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/hooks","issue_events_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/events{/number}","events_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/events","assignees_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/assignees{/user}","branches_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/branches{/branch}","tags_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/tags","blobs_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/git/refs{/sha}","trees_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/statuses/{sha}","languages_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/languages","stargazers_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/stargazers","contributors_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/contributors","subscribers_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/subscribers","subscription_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/subscription","commits_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/commits{/sha}","git_commits_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/git/commits{/sha}","comments_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/comments{/number}","issue_comment_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/comments{/number}","contents_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/contents/{+path}","compare_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/merges","archive_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/downloads","issues_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues{/number}","pulls_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls{/number}","milestones_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/milestones{/number}","notifications_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/labels{/name}","releases_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/releases{/id}","deployments_url":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/deployments","created_at":"2015-04-23T15:45:08Z","updated_at":"2017-10-01T00:28:30Z","pushed_at":"2017-10-15T15:43:03Z","git_url":"git://github.com/Blood-Asp/GT5-Unofficial.git","ssh_url":"git@github.com:Blood-Asp/GT5-Unofficial.git","clone_url":"https://github.com/Blood-Asp/GT5-Unofficial.git","svn_url":"https://github.com/Blood-Asp/GT5-Unofficial","homepage":null,"size":100192,"stargazers_count":112,"watchers_count":112,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":47,"forks":91,"open_issues":47,"watchers":112,"default_branch":"unstable"}},"_links":{"self":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247"},"html":{"href":"https://github.com/Blood-Asp/GT5-Unofficial/pull/1247"},"issue":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/1247"},"comments":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/issues/1247/comments"},"review_comments":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247/comments"},"review_comment":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/pulls/1247/commits"},"statuses":{"href":"https://api.github.com/repos/Blood-Asp/GT5-Unofficial/statuses/e04ae1f2701ceecf50a9e0325b765b36d071ebc2"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":36,"additions":2246,"deletions":1566,"changed_files":38}}
{"actor":{"display_login":"Antifluxfield"}}