World gen stuff
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"tag": {
|
||||
"values": [
|
||||
"bworld:raw_shale",
|
||||
"bworld:raw_claystone",
|
||||
"bworld:raw_limestone",
|
||||
"bworld:raw_conglomerate",
|
||||
"bworld:raw_dolomite",
|
||||
"bworld:raw_chert",
|
||||
"bworld:raw_chalk",
|
||||
"bworld:raw_quartzite",
|
||||
"bworld:raw_slate",
|
||||
"bworld:raw_phyllite",
|
||||
"bworld:raw_schist",
|
||||
"bworld:raw_gneiss",
|
||||
"bworld:raw_marble",
|
||||
"bworld:raw_granite",
|
||||
"bworld:raw_diorite",
|
||||
"bworld:raw_gabbro",
|
||||
"bworld:raw_rhyolite",
|
||||
"bworld:raw_basalt",
|
||||
"bworld:raw_andesite",
|
||||
"bworld:raw_dacite",
|
||||
"bworld:raw_tuff"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/igneous_rock",
|
||||
"type": "noise",
|
||||
"noise": "bworld:igneous_rock",
|
||||
"even": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/metamorphic_rock",
|
||||
"type": "noise",
|
||||
"noise": "bworld:metamorphic_rock",
|
||||
"even": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"density_function": {
|
||||
"id": "bworld:overworld/sedimentary_rock",
|
||||
"type": "noise",
|
||||
"noise": "bworld:sedimentary_rock",
|
||||
"even": true
|
||||
}
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
"id": "bworld:overworld",
|
||||
"generator": "bworld:overworld",
|
||||
"default": true,
|
||||
"min_y": 0,
|
||||
"max_y": 256,
|
||||
"min_y": -64,
|
||||
"max_y": 320,
|
||||
"sky_light": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:igneous_rock",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:metamorphic_rock",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"noise": {
|
||||
"id": "bworld:sedimentary_rock",
|
||||
"wavelength": 512,
|
||||
"amplitudes": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"quantiles": "bworld:humidity"
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"noise_settings": {
|
||||
"id": "bworld:overworld",
|
||||
"sea_level": 64,
|
||||
"default_block": "bworld:stone",
|
||||
"default_block": "bworld:raw_granite",
|
||||
"cell_width": 4,
|
||||
"terrain": {
|
||||
"density": "bworld:overworld/terrain",
|
||||
@@ -40,46 +40,75 @@
|
||||
}
|
||||
],
|
||||
"surface_rule": {
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "above_preliminary_surface",
|
||||
"offset": -20
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "stone_depth",
|
||||
"offset": 0
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_top"
|
||||
}
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "above_preliminary_surface",
|
||||
"offset": -20
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "stone_depth",
|
||||
"offset": 0
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "y_at_least",
|
||||
"function": "bworld:overworld/snow_line"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_top"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "y_at_least",
|
||||
"function": "bworld:overworld/snow_line"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:stone"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:snow_block"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
"type": "bare_cliffs"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
@@ -87,68 +116,336 @@
|
||||
"Name": "bworld:stone"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:snow_block"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "top"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "filler_depth"
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "steep"
|
||||
},
|
||||
"then_run": {
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_filler"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "filler"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "bare_cliffs"
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": -0.714
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:stone"
|
||||
"Name": "bworld:raw_shale"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "top"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "filler_depth"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "surface_underwater"
|
||||
},
|
||||
"then_run": {
|
||||
"type": "biome_surface",
|
||||
"part": "underwater_filler"
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": -0.429
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_claystone"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": -0.143
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_limestone"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": 0.143
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_conglomerate"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": 0.429
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_dolomite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/sedimentary_rock",
|
||||
"max_exclusive": 0.714
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_chert"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_chalk"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "biome_surface",
|
||||
"part": "filler"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "above_preliminary_surface",
|
||||
"offset": -45
|
||||
},
|
||||
"then_run": {
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/metamorphic_rock",
|
||||
"max_exclusive": -0.667
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_quartzite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/metamorphic_rock",
|
||||
"max_exclusive": -0.333
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_slate"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/metamorphic_rock",
|
||||
"max_exclusive": 0.0
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_phyllite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/metamorphic_rock",
|
||||
"max_exclusive": 0.333
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_schist"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/metamorphic_rock",
|
||||
"max_exclusive": 0.667
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_gneiss"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_marble"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sequence",
|
||||
"sequence": [
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": -0.75
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_granite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": -0.5
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_diorite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": -0.25
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_gabbro"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": 0.0
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_rhyolite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": 0.25
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_basalt"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": 0.5
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_andesite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"if_true": {
|
||||
"type": "density",
|
||||
"function": "bworld:overworld/igneous_rock",
|
||||
"max_exclusive": 0.75
|
||||
},
|
||||
"then_run": {
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_dacite"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"result_state": {
|
||||
"Name": "bworld:raw_tuff"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
"ores": [
|
||||
{
|
||||
"id": "bworld:coal_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"replaces": [
|
||||
"bworld:stone",
|
||||
"#bworld:raw_rocks"
|
||||
],
|
||||
"min_y": 5,
|
||||
"max_y": 200,
|
||||
"scale": 0.07,
|
||||
@@ -11,7 +14,10 @@
|
||||
},
|
||||
{
|
||||
"id": "bworld:copper_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"replaces": [
|
||||
"bworld:stone",
|
||||
"#bworld:raw_rocks"
|
||||
],
|
||||
"min_y": 5,
|
||||
"max_y": 110,
|
||||
"scale": 0.075,
|
||||
@@ -19,7 +25,10 @@
|
||||
},
|
||||
{
|
||||
"id": "bworld:tin_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"replaces": [
|
||||
"bworld:stone",
|
||||
"#bworld:raw_rocks"
|
||||
],
|
||||
"min_y": 5,
|
||||
"max_y": 70,
|
||||
"scale": 0.08,
|
||||
@@ -27,7 +36,10 @@
|
||||
},
|
||||
{
|
||||
"id": "bworld:iron_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"replaces": [
|
||||
"bworld:stone",
|
||||
"#bworld:raw_rocks"
|
||||
],
|
||||
"min_y": 5,
|
||||
"max_y": 80,
|
||||
"scale": 0.08,
|
||||
@@ -35,7 +47,10 @@
|
||||
},
|
||||
{
|
||||
"id": "bworld:gold_ore",
|
||||
"replaces": "bworld:stone",
|
||||
"replaces": [
|
||||
"bworld:stone",
|
||||
"#bworld:raw_rocks"
|
||||
],
|
||||
"min_y": 5,
|
||||
"max_y": 36,
|
||||
"scale": 0.06,
|
||||
|
||||
Reference in New Issue
Block a user