diff --git a/kubejs/data/tfg/worldgen/density_function/mars/caves/noodle.json b/kubejs/data/tfg/worldgen/density_function/mars/caves/noodle.json new file mode 100644 index 000000000..2096de60a --- /dev/null +++ b/kubejs/data/tfg/worldgen/density_function/mars/caves/noodle.json @@ -0,0 +1,94 @@ +{ + "type": "minecraft:range_choice", + "input": { + "type": "minecraft:interpolated", + "argument": { + "type": "minecraft:range_choice", + "input": "minecraft:y", + "max_exclusive": 321.0, + "min_inclusive": -28.0, + "when_in_range": { + "type": "minecraft:noise", + "noise": "minecraft:noodle", + "xz_scale": 1.0, + "y_scale": 1.0 + }, + "when_out_of_range": -1.0 + } + }, + "max_exclusive": 0.0, + "min_inclusive": -1000000.0, + "when_in_range": 64.0, + "when_out_of_range": { + "type": "minecraft:add", + "argument1": { + "type": "minecraft:interpolated", + "argument": { + "type": "minecraft:range_choice", + "input": "minecraft:y", + "max_exclusive": 321.0, + "min_inclusive": -30.0, + "when_in_range": { + "type": "minecraft:add", + "argument1": -0.07500000000000001, + "argument2": { + "type": "minecraft:mul", + "argument1": -0.025, + "argument2": { + "type": "minecraft:noise", + "noise": "minecraft:noodle_thickness", + "xz_scale": 1.0, + "y_scale": 1.0 + } + } + }, + "when_out_of_range": 0.0 + } + }, + "argument2": { + "type": "minecraft:mul", + "argument1": 1.5, + "argument2": { + "type": "minecraft:max", + "argument1": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:interpolated", + "argument": { + "type": "minecraft:range_choice", + "input": "minecraft:y", + "max_exclusive": 321.0, + "min_inclusive": -30.0, + "when_in_range": { + "type": "minecraft:noise", + "noise": "minecraft:noodle_ridge_a", + "xz_scale": 2.6666666666666665, + "y_scale": 2.6666666666666665 + }, + "when_out_of_range": 0.0 + } + } + }, + "argument2": { + "type": "minecraft:abs", + "argument": { + "type": "minecraft:interpolated", + "argument": { + "type": "minecraft:range_choice", + "input": "minecraft:y", + "max_exclusive": 321.0, + "min_inclusive": -30.0, + "when_in_range": { + "type": "minecraft:noise", + "noise": "minecraft:noodle_ridge_b", + "xz_scale": 2.6666666666666665, + "y_scale": 2.6666666666666665 + }, + "when_out_of_range": 0.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 963fdb68f..b62ead51d 100644 --- a/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json +++ b/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json @@ -65,7 +65,7 @@ "type": "minecraft:mul", "argument1": { "type": "minecraft:y_clamped_gradient", - "from_y": -28, + "from_y": -30, "to_y": -20, "from_value": 0, "to_value": 1 @@ -99,7 +99,7 @@ } } }, - "argument2": "minecraft:overworld/caves/noodle" + "argument2": "tfg:mars/caves/noodle" }, "fluid_level_floodedness": {