neuralgia/kubejs/data/tfg/worldgen/density_function/mars/offset.json
2025-09-20 17:54:31 +01:00

1445 lines
No EOL
93 KiB
JSON

{
"type": "minecraft:flat_cache",
"argument": {
"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": [
{
"location": 0,
"derivative": 0.3,
"value": -0.3
}
]
}
},
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -1.1,
"value": 0.4
},
{
"derivative": 0.0,
"location": -0.26,
"value": 0.4
},
{
"derivative": 0.0,
"location": -0.15,
"value": -0.4
}
]
}
}
},
"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.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.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.1
},
{
"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.2
},
{
"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.1
},
{
"derivative": 0.0,
"location": -0.75,
"value": 0.2
},
{
"derivative": 0.0,
"location": -0.65,
"value": 0.01
},
{
"derivative": 0.0,
"location": 0.5954547,
"value": 0.05
},
{
"derivative": 0.2534563,
"location": 0.6054547,
"value": 0.75
},
{
"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.15
},
{
"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.0,
"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.1
},
{
"derivative": 0.38940096,
"location": -0.1,
"value": 0.15
},
{
"derivative": 0,
"location": 0.0,
"value": -0.1
},
{
"derivative": 0.38940096,
"location": 0.1,
"value": 0.3
},
{
"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.2
},
{
"derivative": 0.37788022,
"location": -0.1,
"value": 0.11
},
{
"derivative": 0.37788022,
"location": 0.0,
"value": -0.05
},
{
"derivative": 0.37788022,
"location": 0.1,
"value": 0.3
},
{
"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.1
},
{
"derivative": 0.0,
"location": -0.75,
"value": 0.2
},
{
"derivative": 0.0,
"location": -0.65,
"value": 0.01
},
{
"derivative": 0.0,
"location": 0.5954547,
"value": 0.05
},
{
"derivative": 0.2534563,
"location": 0.6054547,
"value": 0.75
},
{
"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.15
},
{
"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.0,
"location": 0.0,
"value": -0.03
},
{
"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.08
},
{
"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.1,
"value": 0.7161751
},
{
"derivative": 0,
"location": 0.0,
"value": -0.1234
},
{
"derivative": 0.5138249,
"location": 0.1,
"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.044682026
},
{
"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.1
},
{
"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.1
},
{
"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.7
}
]
}
},
{
"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.5
}
]
}
},
{
"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.3
}
]
}
},
{
"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.6
},
{
"derivative": 0.0,
"location": 0.4,
"value": 0.7
},
{
"derivative": 0.070000015,
"location": 1.0,
"value": 1.0
}
]
}
},
{
"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.6
},
{
"derivative": 0.070000015,
"location": 1.0,
"value": 0.9
}
]
}
},
{
"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.5
},
{
"derivative": 0.0,
"location": 0.0,
"value": 0.1
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.25
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.3
}
]
}
},
{
"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.05
},
{
"derivative": 0.0,
"location": 0.0,
"value": 0.1
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.12
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.3
}
]
}
},
{
"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.05
},
{
"derivative": 0.0,
"location": 0.0,
"value": 0.1
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.15
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.2
}
]
}
},
{
"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.05
},
{
"derivative": 0.0,
"location": 0.0,
"value": 0.1
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.1
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.2
}
]
}
},
{
"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.05
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.12
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.25
}
]
}
},
{
"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.1
},
{
"derivative": 0.04,
"location": 0.4,
"value": 0.13
},
{
"derivative": 0.049,
"location": 1.0,
"value": 0.25
}
]
}
}
]
}
}
]
}
}
},
"argument2": {
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:blend_alpha"
}
}
}
}
}
}