orangeadam3 / terra121

A Minecraft Terrain Generating Mod for Cubic Chunks 1.12.2. attempting to generate real terrain, biomes, and features on a 1:1 scale
MIT License
280 stars 42 forks source link

[Suggestion] Customizable OSM outline generation. #150

Open tf2mandeokyi opened 3 years ago

tf2mandeokyi commented 3 years ago

Basically, this mod draws outlines with OpenStreetMap's nodes and "node-connections" while generating chunks. But what's interesting is that all of those elements have keys and values; which has a lot of information about those buildings, areas, and roads. (For instance: storing the area's material as sand) So I thought that it would be much useful if one could customize those outline generation by given OpenStreetMap's keys and values.

(This is the example; using json file as outline generation config file)

{
    "keys": {
        "natural": {
            "default": {
                "thickness": 1,
                "block": 208
            },
            "values": {
                "sand": {
                    "block": 12
                }
            }
        }
    }
}