{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/107","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/107/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/107/events","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/107","id":97269264,"number":107,"title":"Biome terrain height usability","user":{"login":"Deamon5550","id":1249030,"avatar_url":"https://avatars.githubusercontent.com/u/1249030?v=3","gravatar_id":"","url":"https://api.github.com/users/Deamon5550","html_url":"https://github.com/Deamon5550","followers_url":"https://api.github.com/users/Deamon5550/followers","following_url":"https://api.github.com/users/Deamon5550/following{/other_user}","gists_url":"https://api.github.com/users/Deamon5550/gists{/gist_id}","starred_url":"https://api.github.com/users/Deamon5550/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deamon5550/subscriptions","organizations_url":"https://api.github.com/users/Deamon5550/orgs","repos_url":"https://api.github.com/users/Deamon5550/repos","events_url":"https://api.github.com/users/Deamon5550/events{/privacy}","received_events_url":"https://api.github.com/users/Deamon5550/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/labels/input%20wanted","name":"input wanted","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-26T00:18:56Z","updated_at":"2015-07-26T01:12:35Z","closed_at":null,"body":"Currently the min and max heights in BiomeType are the internal values used by the generator which do not translate into usable numbers very well. It would be good to change these values to a more usable value which can be translated to actual Y values.\r\n\r\nFor reference the current height values are\r\n```\r\nheight_Default = (0.1F, 0.2F)\r\nheight_ShallowWaters = (-0.5F, 0.0F)\r\nheight_Oceans = (-1.0F, 0.1F)\r\nheight_DeepOceans = (-1.8F, 0.1F)\r\nheight_LowPlains = (0.125F, 0.05F)\r\nheight_MidPlains = (0.2F, 0.2F)\r\nheight_LowHills = (0.45F, 0.3F)\r\nheight_HighPlateaus = (1.5F, 0.025F)\r\nheight_MidHills = (1.0F, 0.5F)\r\nheight_Shores = (0.0F, 0.025F)\r\nheight_RockyWaters = (0.1F, 0.8F)\r\nheight_LowIslands = (0.2F, 0.3F)\r\nheight_PartiallySubmerged = (-0.2F, 0.1F)\r\n```"},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/comments/124924664","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/107#issuecomment-124924664","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/107","id":124924664,"user":{"login":"Deamon5550","id":1249030,"avatar_url":"https://avatars.githubusercontent.com/u/1249030?v=3","gravatar_id":"","url":"https://api.github.com/users/Deamon5550","html_url":"https://github.com/Deamon5550","followers_url":"https://api.github.com/users/Deamon5550/followers","following_url":"https://api.github.com/users/Deamon5550/following{/other_user}","gists_url":"https://api.github.com/users/Deamon5550/gists{/gist_id}","starred_url":"https://api.github.com/users/Deamon5550/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deamon5550/subscriptions","organizations_url":"https://api.github.com/users/Deamon5550/orgs","repos_url":"https://api.github.com/users/Deamon5550/repos","events_url":"https://api.github.com/users/Deamon5550/events{/privacy}","received_events_url":"https://api.github.com/users/Deamon5550/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T01:12:35Z","updated_at":"2015-07-26T01:12:35Z","body":"@JBYoshi yeah thats one option, but not very viable.\r\n\r\nThe final height is based on:\r\n- the min and max from the surrounding 5x5 area averaged with a 2D parabolic field\r\n- an offset and weight from the world settings\r\n- a multiplier if the world is amplified\r\n- a whole lot of magic modifiers\r\n- a whole lot of noise functions\r\n\r\n[For reference](https://gist.github.com/Deamon5550/86cd02987bcc7fba3e19)"}}