neuralgia/kubejs/data/tfg/worldgen/noise_settings/mars_noise.json
Pyritie 084c99db07
Feature/mars rock layers (#1519)
* moving to real tfc rock layers!

* thanks git

* git pls

* that's a good start for the mars rock layer stuff now

* langs, some desert block height tweaks

* mars water fog color

* forgot to convert back from hex to dec
2025-08-04 11:22:18 +01:00

845 lines
No EOL
19 KiB
JSON

{
"sea_level": 88,
"disable_mob_generation": false,
"aquifers_enabled": true,
"ore_veins_enabled": false,
"legacy_random_source": false,
"default_block": {
"Name": "ad_astra:mars_stone"
},
"default_fluid": {
"Name": "tfg:semiheavy_ammoniacal_water"
},
"noise": {
"min_y": -32,
"height": 384,
"size_horizontal": 1,
"size_vertical": 1
},
"noise_router": {
"barrier": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:noise",
"noise": "minecraft:aquifer_barrier",
"xz_scale": 1,
"y_scale": 0.5
},
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -0.18,
"value": -1
},
{
"derivative": 0.0,
"location": -0.17,
"value": 1
}
]
}
}
},
"continents": "tfg:mars/continents",
"depth": 0,
"erosion": "tfg:mars/erosion",
"final_density": {
"type": "minecraft:min",
"argument1": {
"type": "minecraft:squeeze",
"argument": {
"type": "minecraft:mul",
"argument1": 0.64,
"argument2": {
"type": "minecraft:interpolated",
"argument": {
"type": "minecraft:blend_density",
"argument": {
"type": "minecraft:add",
"argument1": 0.1171875,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_y": -30,
"to_y": -20,
"from_value": 0,
"to_value": 1
},
"argument2": {
"type": "minecraft:add",
"argument1": -0.1171875,
"argument2": {
"type": "minecraft:add",
"argument1": -0.078125,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_y": 240,
"to_y": 256,
"from_value": 1,
"to_value": 0
},
"argument2": {
"type": "minecraft:add",
"argument1": 0.078125,
"argument2": "tfg:mars/sloped_cheese"
}
}
}
}
}
}
}
}
}
},
"argument2": "tfg:mars/caves/noodle"
},
"fluid_level_floodedness": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -0.18,
"value": -1
},
{
"derivative": 0.0,
"location": -0.17,
"value": 0
}
]
}
},
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:noise",
"noise": "minecraft:aquifer_fluid_level_floodedness",
"xz_scale": 1,
"y_scale": 0.67
},
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -0.18,
"value": 0
},
{
"derivative": 0.0,
"location": -0.17,
"value": 1
}
]
}
}
}
},
"fluid_level_spread": {
"type": "minecraft:noise",
"noise": "minecraft:aquifer_fluid_level_spread",
"xz_scale": 1,
"y_scale": 0.7142857142857143
},
"initial_density_without_jaggedness": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:add",
"argument1": 0.1171875,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 0.0,
"from_y": -64,
"to_value": 1.0,
"to_y": -40
},
"argument2": {
"type": "minecraft:add",
"argument1": -0.1171875,
"argument2": {
"type": "minecraft:add",
"argument1": -0.078125,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 1.0,
"from_y": 240,
"to_value": 0.0,
"to_y": 256
},
"argument2": {
"type": "minecraft:add",
"argument1": 0.078125,
"argument2": {
"type": "minecraft:clamp",
"input": {
"type": "minecraft:add",
"argument1": -0.703125,
"argument2": {
"type": "minecraft:mul",
"argument1": 4.0,
"argument2": {
"type": "minecraft:quarter_negative",
"argument": {
"type": "minecraft:mul",
"argument1": "tfg:mars/depth",
"argument2": {
"type": "minecraft:cache_2d",
"argument": "tfg:mars/factor"
}
}
}
}
},
"max": 64.0,
"min": -64.0
}
}
}
}
}
}
},
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -0.19,
"value": 1
},
{
"derivative": 0.0,
"location": -0.17,
"value": 0
}
]
}
}
},
"lava": 0,
"ridges": "tfg:mars/ridges",
"temperature": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:temperature",
"shift_x": "minecraft:shift_x",
"shift_y": 0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.25,
"y_scale": 0
},
"vegetation": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:vegetation",
"shift_x": "minecraft:shift_x",
"shift_y": 0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.25,
"y_scale": 0
},
"vein_gap": 0,
"vein_ridged": 0,
"vein_toggle": 0
},
"surface_rule": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:vertical_gradient",
"random_name": "minecraft:bedrock_floor",
"false_at_and_above": {
"above_bottom": 5
},
"true_at_and_below": {
"above_bottom": 0
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:bedrock"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/martian_river",
"tfg:mars/martian_riverbed"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 70
},
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 2,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 6,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sandstone"
}
}
}
]
}
}
},
{
"_": "SAND + SAND STONE HARDENING",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/martian_dune_edge",
"tfg:mars/martian_dunes",
"tfg:mars/martian_deep_desert"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 65
},
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 2,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"random_name": "tfg:mars_top_layer_sand",
"false_at_and_above": {
"absolute": 87
},
"true_at_and_below": {
"absolute": 77
}
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:mars_sand"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:red_sand"
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 6,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"random_name": "tfg:mars_top_layer_sand",
"false_at_and_above": {
"absolute": 84
},
"true_at_and_below": {
"absolute": 74
}
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:mars_stone"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:red_sandstone"
}
}
]
}
}
]
}
}
},
{
"_": "TOP ROCK LAYER FOR MOUNTAINS",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/martian_mountains",
"tfg:mars/martian_hills"
]
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_1",
"min_threshold": -1.0,
"max_threshold": 0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_2",
"min_threshold": -1.0,
"max_threshold": 0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:block",
"result_state": {
"Name": "gtceu:red_granite"
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_2",
"min_threshold": 0,
"max_threshold": 1.0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:block",
"result_state": {
"Name": "tfc:rock/raw/basalt"
}
}
]
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_1",
"min_threshold": 0,
"max_threshold": 1.0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_2",
"min_threshold": -1.0,
"max_threshold": 0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:block",
"result_state": {
"Name": "tfc:rock/raw/gabbro"
}
}
]
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:stone_layer_mars_2",
"min_threshold": 0,
"max_threshold": 1.0
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:block",
"result_state": {
"Name": "gtceu:red_granite"
}
}
]
}
}
]
}
}
]
}
},
{
"_": "AMBER MYCELIUM + DIRT",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/amber_hills",
"tfg:mars/amber_plains"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:above_preliminary_surface"
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "tfg:needs_post_processing",
"state": {
"Name": "tfg:grass/amber_mycelium"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 2,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfg:grass/mars_dirt"
}
}
}
]
}
}
}
},
{
"_": "RUSTICUS MYCELIUM + DIRT",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/rusticus_hills",
"tfg:mars/rusticus_plains"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:above_preliminary_surface"
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "tfg:needs_post_processing",
"state": {
"Name": "tfg:grass/rusticus_mycelium"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 2,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfg:grass/mars_dirt"
}
}
}
]
}
}
}
},
{
"_": "SANGNUM MYCELIUM + DIRT",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/sangnum_hills",
"tfg:mars/sangnum_plains",
"tfg:mars/martian_oasis"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:above_preliminary_surface"
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"offset": 0,
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "tfg:needs_post_processing",
"state": {
"Name": "tfg:grass/sangnum_mycelium"
}
}
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 2,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfg:grass/mars_dirt"
}
}
}
]
}
}
}
},
{
"type": "kubejs_tfc:rock",
"rock_block": "raw",
"fallback_state": {
"Name": "ad_astra:mars_stone"
}
}
]
},
"spawn_target": []
}