diff --git a/kubejs/data/tfg/worldgen/density_function/mars/dune.json b/kubejs/data/tfg/worldgen/density_function/mars/dune.json new file mode 100644 index 000000000..c499e022d --- /dev/null +++ b/kubejs/data/tfg/worldgen/density_function/mars/dune.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:cache_2d", + "argument": { + "type": "minecraft:mul", + "argument1": -1, + "argument2": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:noise", + "noise": "tfg:mars_dunes_size", + "xz_scale": 1, + "y_scale": 0 + } + } + } +} diff --git a/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_x.json b/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_x.json new file mode 100644 index 000000000..cdc30dbb4 --- /dev/null +++ b/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_x.json @@ -0,0 +1,26 @@ +{ + "type": "minecraft:cache_2d", + "argument": { + "type": "minecraft:spline", + "spline": { + "coordinate": { + "type": "minecraft:noise", + "noise": "tfg:mars_dunes_offset", + "xz_scale": 1, + "y_scale": 0 + }, + "points": [ + { + "location": -1, + "derivative": 5.196152422706632, + "value": 0 + }, + { + "location": 1, + "derivative": 5.196152422706632, + "value": 0 + } + ] + } + } +} diff --git a/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_z.json b/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_z.json new file mode 100644 index 000000000..6bb9bc446 --- /dev/null +++ b/kubejs/data/tfg/worldgen/density_function/mars/dunes_offset_z.json @@ -0,0 +1,31 @@ +{ + "type": "minecraft:cache_2d", + "argument": { + "type": "minecraft:spline", + "spline": { + "coordinate": { + "type": "minecraft:noise", + "noise": "tfg:mars_dunes_offset", + "xz_scale": 1, + "y_scale": 0 + }, + "points": [ + { + "location": -1, + "derivative": 0, + "value": -1 + }, + { + "location": 0, + "derivative": 0, + "value": 1 + }, + { + "location": 1, + "derivative": 0, + "value": -1 + } + ] + } + } +} diff --git a/kubejs/data/tfg/worldgen/density_function/mars/offset.json b/kubejs/data/tfg/worldgen/density_function/mars/offset.json index d4f91fe18..d341d20d6 100644 --- a/kubejs/data/tfg/worldgen/density_function/mars/offset.json +++ b/kubejs/data/tfg/worldgen/density_function/mars/offset.json @@ -1,1532 +1,1637 @@ { - "type": "minecraft:flat_cache", - "argument": { - "type": "minecraft:cache_2d", + "type": "minecraft:flat_cache", "argument": { - "type": "minecraft:add", - "argument1": { - "type": "minecraft:mul", - "argument1": { - "type": "minecraft:blend_offset" - }, - "argument2": { - "type": "minecraft:add", - "argument1": 1.0, - "argument2": { - "type": "minecraft:mul", - "argument1": -1.0, - "argument2": { - "type": "minecraft:cache_once", - "argument": { - "type": "minecraft:blend_alpha" - } - } - } - } - }, - "argument2": { - "type": "minecraft:mul", - "argument1": { - "type": "minecraft:add", - "argument1": -0.5037500262260437, - "argument2": { - "type": "minecraft:spline", - "spline": { - "coordinate": "tfg:mars/continents", - "points": [ - { - "derivative": 0.0, - "location": -1.1, - "value": 0.2222 - }, - { - "derivative": 0.0, - "location": -1.02, - "value": 0.02 - }, - { - "derivative": 0.0, - "location": -0.47, - "value": { - "coordinate": "tfg:mars/sand_dunes", + "type": "minecraft:cache_2d", + "argument": { + "type": "minecraft:add", + "argument1": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:spline", + "spline": { + "coordinate": { + "type": "minecraft:cube", + "argument": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:add", + "argument1": 1, + "argument2": "tfg:mars/dune" + }, + "argument2": { + "type": "minecraft:spline", + "spline": { + "coordinate": { + "type": "minecraft:add", + "argument1": "tfg:mars/dune", + "argument2": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:shifted_noise", + "noise": "tfg:mars_dunes_size", + "xz_scale": 1, + "y_scale": 0, + "shift_x": { + "type": "minecraft:mul", + "argument1": 16, + "argument2": "tfg:mars/dunes_offset_z" + }, + "shift_y": 0, + "shift_z": { + "type": "minecraft:mul", + "argument1": -16, + "argument2": "tfg:mars/dunes_offset_x" + } + } + } + }, + "points": [ + { + "location": 0, + "derivative": 0, + "value": 0.8 + }, + { + "location": 0.1, + "derivative": 0, + "value": 1 + } + ] + } + } + }, + "argument2": { + "type": "minecraft:spline", + "spline": { + "coordinate": { + "type": "minecraft:add", + "argument1": "tfg:mars/dune", + "argument2": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:shifted_noise", + "noise": "tfg:mars_dunes_size", + "xz_scale": 1, + "y_scale": 0, + "shift_x": { + "type": "minecraft:mul", + "argument1": 16, + "argument2": "tfg:mars/dunes_offset_x" + }, + "shift_y": 0, + "shift_z": { + "type": "minecraft:mul", + "argument1": 16, + "argument2": "tfg:mars/dunes_offset_z" + } + } + } + }, + "points": [ + { + "location": 0, + "derivative": 0, + "value": 1 + }, + { + "location": 0.3, + "derivative": 0, + "value": 0.8 + } + ] + } + } + } + }, "points": [ { - "derivative": 0, - "location": -1.0, - "value": -0.15 - }, - { - "derivative": 0, - "location": 1.0, - "value": 0.2222 + "location": 0, + "derivative": 0.3, + "value": -0.3 } ] } }, - { - "derivative": 0.0, - "location": -0.18, - "value": 0.015 - }, - { - "derivative": 0.0, - "location": -0.16, - "value": { - "coordinate": "tfg:mars/erosion", - "points": [ - { - "derivative": 0.0, - "location": -0.85, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ + "argument2": { + "type": "minecraft:spline", + "spline": { + "coordinate": "tfg:mars/continents", + "points": [ { - "derivative": 0.38940096, - "location": -1.0, - "value": -0.08880186 + "derivative": 0.0, + "location": -1.1, + "value": 0 }, { - "derivative": 0.38940096, - "location": 1.0, - "value": 0.69000006 + "derivative": 0.0, + "location": -1.02, + "value": 1 + }, + { + "derivative": 0.0, + "location": -0.47, + "value": 1 + }, + { + "derivative": 0.0, + "location": -0.18, + "value": 0 } - ] - } - }, - { - "derivative": 0.0, - "location": -0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.37788022, - "location": -1.0, - "value": -0.115760356 - }, - { - "derivative": 0.37788022, - "location": 1.0, - "value": 0.6400001 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.75, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.65, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.5954547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 0.6054547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 1.0, - "value": 0.100000024 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.35, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.3 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.15 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.0 - }, - { - "derivative": 0.1, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.2, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.15 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 1.0, - "value": 0.0 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.02 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": -0.03 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": -0.03 - }, - { - "derivative": 0.06, - "location": 0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 1.0, - "value": 0.0 - } - ] - } - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.15, - "value": { - "coordinate": "tfg:mars/erosion", - "points": [ - { - "derivative": 0.0, - "location": -0.85, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.38940096, - "location": -1.0, - "value": -0.08880186 - }, - { - "derivative": 0.38940096, - "location": 1.0, - "value": 0.69000006 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.37788022, - "location": -1.0, - "value": -0.115760356 - }, - { - "derivative": 0.37788022, - "location": 1.0, - "value": 0.6400001 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.75, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.65, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.5954547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 0.6054547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 1.0, - "value": 0.100000024 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.35, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.3 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.15 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.0 - }, - { - "derivative": 0.1, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.2, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.15 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 1.0, - "value": 0.0 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.02 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": -0.03 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": -0.03 - }, - { - "derivative": 0.06, - "location": 0.4, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 1.0, - "value": 0.0 - } - ] - } - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/erosion", - "points": [ - { - "derivative": 0.0, - "location": -0.85, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.38940096, - "location": -1.0, - "value": -0.08880186 - }, - { - "derivative": 0.38940096, - "location": 1.0, - "value": 0.69000006 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.37788022, - "location": -1.0, - "value": -0.115760356 - }, - { - "derivative": 0.37788022, - "location": 1.0, - "value": 0.6400001 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.75, - "value": -0.2222 - }, - { - "derivative": 0.0, - "location": -0.65, - "value": 0.0 - }, - { - "derivative": 0.0, - "location": 0.5954547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 0.6054547, - "value": 2.9802322E-8 - }, - { - "derivative": 0.2534563, - "location": 1.0, - "value": 0.100000024 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.35, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.25 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.05 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.01, - "location": -0.4, - "value": 0.001 - }, - { - "derivative": 0.01, - "location": 0.0, - "value": 0.003 - }, - { - "derivative": 0.094000004, - "location": 0.4, - "value": 0.05 - }, - { - "derivative": 0.007000001, - "location": 1.0, - "value": 0.060000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.2, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.02 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": -0.03 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": -0.03 - }, - { - "derivative": 0.12, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.25, - "value": { - "coordinate": "tfg:mars/erosion", - "points": [ - { - "derivative": 0.0, - "location": -0.85, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.20235021 - }, - { - "derivative": 0.5138249, - "location": 0.0, - "value": 0.7161751 - }, - { - "derivative": 0.5138249, - "location": 1.0, - "value": 1.23 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.2 - }, - { - "derivative": 0.43317974, - "location": 0.0, - "value": 0.44682026 - }, - { - "derivative": 0.43317974, - "location": 1.0, - "value": 0.88 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.2 - }, - { - "derivative": 0.3917051, - "location": 0.0, - "value": 0.30829495 - }, - { - "derivative": 0.3917051, - "location": 1.0, - "value": 0.70000005 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.35, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.25 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.35 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.35 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.35 - }, - { - "derivative": 0.049000014, - "location": 1.0, - "value": 0.42000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.07, - "location": -0.4, - "value": 0.0069999998 - }, - { - "derivative": 0.07, - "location": 0.0, - "value": 0.021 - }, - { - "derivative": 0.658, - "location": 0.4, - "value": 0.35 - }, - { - "derivative": 0.049000014, - "location": 1.0, - "value": 0.42000002 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.2, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.45, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.17 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.55, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.17 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.58, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.1 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.02 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": -0.03 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": -0.03 - }, - { - "derivative": 0.12, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - } - ] - } - }, - { - "derivative": 0.0, - "location": 1.0, - "value": { - "coordinate": "tfg:mars/erosion", - "points": [ - { - "derivative": 0.0, - "location": -0.85, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.34792626 - }, - { - "derivative": 0.5760369, - "location": 0.0, - "value": 0.9239631 - }, - { - "derivative": 0.5760369, - "location": 1.0, - "value": 1.5 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.2 - }, - { - "derivative": 0.4608295, - "location": 0.0, - "value": 0.5391705 - }, - { - "derivative": 0.4608295, - "location": 1.0, - "value": 1.0 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": 0.2 - }, - { - "derivative": 0.4608295, - "location": 0.0, - "value": 0.5391705 - }, - { - "derivative": 0.4608295, - "location": 1.0, - "value": 1.0 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.35, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.2 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.5 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.5 - }, - { - "derivative": 0.0, - "location": 0.4, - "value": 0.5 - }, - { - "derivative": 0.070000015, - "location": 1.0, - "value": 0.6 - } - ] - } - }, - { - "derivative": 0.0, - "location": -0.1, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.099999994, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.099999994, - "location": 0.0, - "value": 0.03 - }, - { - "derivative": 0.94, - "location": 0.4, - "value": 0.5 - }, - { - "derivative": 0.070000015, - "location": 1.0, - "value": 0.6 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.2, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.45, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.17 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.55, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.0, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.17 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.58, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.5, - "location": -1.0, - "value": -0.05 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - }, - { - "derivative": 0.0, - "location": 0.7, - "value": { - "coordinate": "tfg:mars/ridges_folded", - "points": [ - { - "derivative": 0.015, - "location": -1.0, - "value": -0.02 - }, - { - "derivative": 0.0, - "location": -0.4, - "value": 0.01 - }, - { - "derivative": 0.0, - "location": 0.0, - "value": 0.01 - }, - { - "derivative": 0.04, - "location": 0.4, - "value": 0.03 - }, - { - "derivative": 0.049, - "location": 1.0, - "value": 0.1 - } - ] - } - } - ] - } + ] + } + } + }, + "argument2": { + "type": "minecraft:mul", + "argument1": { + "type": "minecraft:add", + "argument1": -0.5037500262260437, + "argument2": { + "type": "minecraft:spline", + "spline": { + "coordinate": "tfg:mars/continents", + "points": [ + { + "derivative": 0.0, + "location": -1.1, + "value": 0.2222 + }, + { + "derivative": 0.0, + "location": -1.02, + "value": 0.02 + }, + { + "derivative": 0.0, + "location": -0.47, + "value": 0.02 + }, + { + "derivative": 0.0, + "location": -0.18, + "value": 0.015 + }, + { + "derivative": 0.0, + "location": -0.16, + "value": { + "coordinate": "tfg:mars/erosion", + "points": [ + { + "derivative": 0.0, + "location": -0.85, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.38940096, + "location": -1.0, + "value": -0.08880186 + }, + { + "derivative": 0.38940096, + "location": 1.0, + "value": 0.69000006 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.37788022, + "location": -1.0, + "value": -0.115760356 + }, + { + "derivative": 0.37788022, + "location": 1.0, + "value": 0.6400001 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.75, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.65, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.5954547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 0.6054547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 1.0, + "value": 0.100000024 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.35, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.3 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.15 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.0 + }, + { + "derivative": 0.1, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.2, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.15 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 1.0, + "value": 0.0 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.02 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": -0.03 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": -0.03 + }, + { + "derivative": 0.06, + "location": 0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 1.0, + "value": 0.0 + } + ] + } + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.15, + "value": { + "coordinate": "tfg:mars/erosion", + "points": [ + { + "derivative": 0.0, + "location": -0.85, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.38940096, + "location": -1.0, + "value": -0.08880186 + }, + { + "derivative": 0.38940096, + "location": 1.0, + "value": 0.69000006 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.37788022, + "location": -1.0, + "value": -0.115760356 + }, + { + "derivative": 0.37788022, + "location": 1.0, + "value": 0.6400001 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.75, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.65, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.5954547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 0.6054547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 1.0, + "value": 0.100000024 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.35, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.3 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.15 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.0 + }, + { + "derivative": 0.1, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.2, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.15 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 1.0, + "value": 0.0 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.02 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": -0.03 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": -0.03 + }, + { + "derivative": 0.06, + "location": 0.4, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 1.0, + "value": 0.0 + } + ] + } + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/erosion", + "points": [ + { + "derivative": 0.0, + "location": -0.85, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.38940096, + "location": -1.0, + "value": -0.08880186 + }, + { + "derivative": 0.38940096, + "location": 1.0, + "value": 0.69000006 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.37788022, + "location": -1.0, + "value": -0.115760356 + }, + { + "derivative": 0.37788022, + "location": 1.0, + "value": 0.6400001 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.75, + "value": -0.2222 + }, + { + "derivative": 0.0, + "location": -0.65, + "value": 0.0 + }, + { + "derivative": 0.0, + "location": 0.5954547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 0.6054547, + "value": 2.9802322E-8 + }, + { + "derivative": 0.2534563, + "location": 1.0, + "value": 0.100000024 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.35, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.25 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.05 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.01, + "location": -0.4, + "value": 0.001 + }, + { + "derivative": 0.01, + "location": 0.0, + "value": 0.003 + }, + { + "derivative": 0.094000004, + "location": 0.4, + "value": 0.05 + }, + { + "derivative": 0.007000001, + "location": 1.0, + "value": 0.060000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.2, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.02 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": -0.03 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": -0.03 + }, + { + "derivative": 0.12, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.25, + "value": { + "coordinate": "tfg:mars/erosion", + "points": [ + { + "derivative": 0.0, + "location": -0.85, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.20235021 + }, + { + "derivative": 0.5138249, + "location": 0.0, + "value": 0.7161751 + }, + { + "derivative": 0.5138249, + "location": 1.0, + "value": 1.23 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.2 + }, + { + "derivative": 0.43317974, + "location": 0.0, + "value": 0.44682026 + }, + { + "derivative": 0.43317974, + "location": 1.0, + "value": 0.88 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.2 + }, + { + "derivative": 0.3917051, + "location": 0.0, + "value": 0.30829495 + }, + { + "derivative": 0.3917051, + "location": 1.0, + "value": 0.70000005 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.35, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.25 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.35 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.35 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.35 + }, + { + "derivative": 0.049000014, + "location": 1.0, + "value": 0.42000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.07, + "location": -0.4, + "value": 0.0069999998 + }, + { + "derivative": 0.07, + "location": 0.0, + "value": 0.021 + }, + { + "derivative": 0.658, + "location": 0.4, + "value": 0.35 + }, + { + "derivative": 0.049000014, + "location": 1.0, + "value": 0.42000002 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.2, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.45, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.17 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.55, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.17 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.58, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.1 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.02 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": -0.03 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": -0.03 + }, + { + "derivative": 0.12, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + } + ] + } + }, + { + "derivative": 0.0, + "location": 1.0, + "value": { + "coordinate": "tfg:mars/erosion", + "points": [ + { + "derivative": 0.0, + "location": -0.85, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.34792626 + }, + { + "derivative": 0.5760369, + "location": 0.0, + "value": 0.9239631 + }, + { + "derivative": 0.5760369, + "location": 1.0, + "value": 1.5 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.2 + }, + { + "derivative": 0.4608295, + "location": 0.0, + "value": 0.5391705 + }, + { + "derivative": 0.4608295, + "location": 1.0, + "value": 1.0 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": 0.2 + }, + { + "derivative": 0.4608295, + "location": 0.0, + "value": 0.5391705 + }, + { + "derivative": 0.4608295, + "location": 1.0, + "value": 1.0 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.35, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.2 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.5 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.5 + }, + { + "derivative": 0.0, + "location": 0.4, + "value": 0.5 + }, + { + "derivative": 0.070000015, + "location": 1.0, + "value": 0.6 + } + ] + } + }, + { + "derivative": 0.0, + "location": -0.1, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.099999994, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.099999994, + "location": 0.0, + "value": 0.03 + }, + { + "derivative": 0.94, + "location": 0.4, + "value": 0.5 + }, + { + "derivative": 0.070000015, + "location": 1.0, + "value": 0.6 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.2, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.45, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.17 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.55, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.0, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.17 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.58, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.5, + "location": -1.0, + "value": -0.05 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + }, + { + "derivative": 0.0, + "location": 0.7, + "value": { + "coordinate": "tfg:mars/ridges_folded", + "points": [ + { + "derivative": 0.015, + "location": -1.0, + "value": -0.02 + }, + { + "derivative": 0.0, + "location": -0.4, + "value": 0.01 + }, + { + "derivative": 0.0, + "location": 0.0, + "value": 0.01 + }, + { + "derivative": 0.04, + "location": 0.4, + "value": 0.03 + }, + { + "derivative": 0.049, + "location": 1.0, + "value": 0.1 + } + ] + } + } + ] + } + } + ] + } + } + }, + "argument2": { + "type": "minecraft:cache_once", + "argument": { + "type": "minecraft:blend_alpha" + } } - ] } - } - }, - "argument2": { - "type": "minecraft:cache_once", - "argument": { - "type": "minecraft:blend_alpha" - } } - } } - } } \ No newline at end of file diff --git a/kubejs/data/tfg/worldgen/density_function/mars/sand_dunes.json b/kubejs/data/tfg/worldgen/density_function/mars/sand_dunes.json index 6228ffb0e..c499e022d 100644 --- a/kubejs/data/tfg/worldgen/density_function/mars/sand_dunes.json +++ b/kubejs/data/tfg/worldgen/density_function/mars/sand_dunes.json @@ -1,9 +1,16 @@ { - "type": "minecraft:flat_cache", + "type": "minecraft:cache_2d", "argument": { - "type": "minecraft:noise", - "noise": "tfg:mars_dunes_size", - "xz_scale": 1.0, - "y_scale": 1.0 + "type": "minecraft:mul", + "argument1": -1, + "argument2": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:noise", + "noise": "tfg:mars_dunes_size", + "xz_scale": 1, + "y_scale": 0 + } + } } -} \ No newline at end of file +} diff --git a/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json b/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json index cac07b61b..4be061880 100644 --- a/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json +++ b/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json @@ -413,7 +413,7 @@ "type": "minecraft:noise_threshold", "noise": "tfg:mars_dunes_color", "min_threshold": -2.0, - "max_threshold": -0.25 + "max_threshold": -0.4 }, "then_run": { "type": "minecraft:block", @@ -427,7 +427,7 @@ "if_true": { "type": "minecraft:noise_threshold", "noise": "tfg:mars_dunes_color", - "min_threshold": -0.25, + "min_threshold": -0.4, "max_threshold": 0.05 }, "then_run": { @@ -478,7 +478,7 @@ "type": "minecraft:noise_threshold", "noise": "tfg:mars_dunes_color", "min_threshold": -2.0, - "max_threshold": -0.25 + "max_threshold": -0.4 }, "then_run": { "type": "minecraft:block", @@ -492,7 +492,7 @@ "if_true": { "type": "minecraft:noise_threshold", "noise": "tfg:mars_dunes_color", - "min_threshold": -0.25, + "min_threshold": -0.4, "max_threshold": 0.05 }, "then_run": {