Feature/venus noise (#2165)

* initial pass of venus stuff

* more

* typo

* venus mob hp/armor? adjustments

* temp biomes to figure out where everything is, starting work on noises

* almost there

* fix glacio visibility on the menu

* more beachy

* biome renames

* biomes in the constant

* had to turn off cheese caves cuz they kept fucking up the terrain

* added random y rotation to all cobble/gravel/hardened

* ok I think I'm done with noise for now, caves still need work
This commit is contained in:
Pyritie 2025-11-05 01:08:18 +00:00 committed by GitHub
parent 9ea490354f
commit feda38112d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
92 changed files with 7421 additions and 1254 deletions

View file

@ -0,0 +1,8 @@
{
"type": "minecraft:old_blended_noise",
"smear_scale_multiplier": 8.0,
"xz_factor": 80.0,
"xz_scale": 0.25,
"y_factor": 160.0,
"y_scale": 0.125
}

View file

@ -0,0 +1,83 @@
{
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:min",
"argument1": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:add",
"argument1": 0.37,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:cave_entrance",
"xz_scale": 0.75,
"y_scale": 0.5
}
},
"argument2": {
"type": "minecraft:y_clamped_gradient",
"from_value": 0.3,
"from_y": -10,
"to_value": 0.0,
"to_y": 30
}
},
"argument2": {
"type": "minecraft:add",
"argument1": "tfg:venus/caves/spaghetti_roughness_function",
"argument2": {
"type": "minecraft:clamp",
"input": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:max",
"argument1": {
"type": "minecraft:weird_scaled_sampler",
"input": {
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_3d_rarity",
"xz_scale": 2.0,
"y_scale": 1.0
}
},
"noise": "minecraft:spaghetti_3d_1",
"rarity_value_mapper": "type_1"
},
"argument2": {
"type": "minecraft:weird_scaled_sampler",
"input": {
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_3d_rarity",
"xz_scale": 2.0,
"y_scale": 1.0
}
},
"noise": "minecraft:spaghetti_3d_2",
"rarity_value_mapper": "type_1"
}
},
"argument2": {
"type": "minecraft:add",
"argument1": -0.0765,
"argument2": {
"type": "minecraft:mul",
"argument1": -0.011499999999999996,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_3d_thickness",
"xz_scale": 1.0,
"y_scale": 1.0
}
}
}
},
"max": 1.0,
"min": -1.0
}
}
}
}

View file

@ -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": -60.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": -60.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": -60.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": -60.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
}
}
}
}
}
}
}

View file

@ -0,0 +1,50 @@
{
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:mul",
"argument1": 2.0,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:pillar",
"xz_scale": 25.0,
"y_scale": 0.3
}
},
"argument2": {
"type": "minecraft:add",
"argument1": -1.0,
"argument2": {
"type": "minecraft:mul",
"argument1": -1.0,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:pillar_rareness",
"xz_scale": 1.0,
"y_scale": 1.0
}
}
}
},
"argument2": {
"type": "minecraft:cube",
"argument": {
"type": "minecraft:add",
"argument1": 0.55,
"argument2": {
"type": "minecraft:mul",
"argument1": 0.55,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:pillar_thickness",
"xz_scale": 1.0,
"y_scale": 1.0
}
}
}
}
}
}

View file

@ -0,0 +1,61 @@
{
"type": "minecraft:clamp",
"input": {
"type": "minecraft:max",
"argument1": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:weird_scaled_sampler",
"input": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_2d_modulator",
"xz_scale": 2.0,
"y_scale": 1.0
},
"noise": "minecraft:spaghetti_2d",
"rarity_value_mapper": "type_2"
},
"argument2": {
"type": "minecraft:mul",
"argument1": 0.083,
"argument2": "tfg:venus/caves/spaghetti_2d_thickness_modulator"
}
},
"argument2": {
"type": "minecraft:cube",
"argument": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:abs",
"argument": {
"type": "minecraft:add",
"argument1": {
"type": "minecraft:add",
"argument1": 0.0,
"argument2": {
"type": "minecraft:mul",
"argument1": 8.0,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_2d_elevation",
"xz_scale": 1.0,
"y_scale": 0.0
}
}
},
"argument2": {
"type": "minecraft:y_clamped_gradient",
"from_value": 8.0,
"from_y": -64,
"to_value": -40.0,
"to_y": 320
}
}
},
"argument2": "tfg:venus/caves/spaghetti_2d_thickness_modulator"
}
}
},
"max": 1.0,
"min": -1.0
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:add",
"argument1": -0.95,
"argument2": {
"type": "minecraft:mul",
"argument1": -0.35000000000000003,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_2d_thickness",
"xz_scale": 2.0,
"y_scale": 1.0
}
}
}
}

View file

@ -0,0 +1,33 @@
{
"type": "minecraft:cache_once",
"argument": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:add",
"argument1": -0.05,
"argument2": {
"type": "minecraft:mul",
"argument1": -0.05,
"argument2": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_roughness_modulator",
"xz_scale": 1.0,
"y_scale": 1.0
}
}
},
"argument2": {
"type": "minecraft:add",
"argument1": -0.4,
"argument2": {
"type": "minecraft:abs",
"argument": {
"type": "minecraft:noise",
"noise": "minecraft:spaghetti_roughness",
"xz_scale": 1.0,
"y_scale": 1.0
}
}
}
}
}

View file

@ -0,0 +1,12 @@
{
"type": "minecraft:flat_cache",
"argument": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:continentalness",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.5,
"y_scale": 0.0
}
}

View file

@ -0,0 +1,11 @@
{
"type": "minecraft:add",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 1.5,
"from_y": -64,
"to_value": -1.5,
"to_y": 320
},
"argument2": "tfg:venus/offset"
}

View file

@ -0,0 +1,12 @@
{
"type": "minecraft:flat_cache",
"argument": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:erosion",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.25,
"y_scale": 0.0
}
}

View file

@ -0,0 +1,185 @@
{
"type": "minecraft:flat_cache",
"argument": {
"type": "minecraft:cache_2d",
"argument": {
"type": "minecraft:add",
"argument1": 10.0,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:blend_alpha"
},
"argument2": {
"type": "minecraft:add",
"argument1": -10.0,
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:venus/continents",
"points": [
{
"derivative": 0.0,
"location": -0.51,
"value": 10
},
{
"derivative": 0.0,
"location": -0.44,
"value": 10
},
{
"derivative": 0.0,
"location": -0.05,
"value": 10
},
{
"derivative": 0.0,
"location": 0.1,
"value": {
"coordinate": "tfg:venus/erosion",
"points": [
{
"derivative": 0.0,
"location": -0.6,
"value": 6.25
},
{
"derivative": 0.0,
"location": -0.5,
"value": 6.5
},
{
"derivative": 0.0,
"location": -0.35,
"value": 6.3
},
{
"derivative": 0.0,
"location": -0.25,
"value": 6.2
},
{
"derivative": 0.0,
"location": -0.1,
"value": 6.4
},
{
"derivative": 0.0,
"location": 0.03,
"value": 6.8
},
{
"derivative": 0.0,
"location": 0.35,
"value": 7
}
]
}
},
{
"derivative": 0.0,
"location": 0.4,
"value": {
"coordinate": "tfg:venus/erosion",
"points": [
{
"derivative": 0.0,
"location": -0.6,
"value": 3.3
},
{
"derivative": 0.0,
"location": -0.5,
"value": 2.67
},
{
"derivative": 0.0,
"location": -0.35,
"value": 3.1
},
{
"derivative": 0.0,
"location": -0.25,
"value": 2.6
},
{
"derivative": 0.0,
"location": -0.1,
"value": 3.4
},
{
"derivative": 0.0,
"location": 0.03,
"value": 4.08
},
{
"derivative": 0.0,
"location": 0.35,
"value": 4.08
},
{
"derivative": 0.0,
"location": 0.45,
"value": 4.08
}
]
}
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/erosion",
"points": [
{
"derivative": 0.0,
"location": -0.6,
"value": 2.1
},
{
"derivative": 0.0,
"location": -0.5,
"value": 1.9
},
{
"derivative": 0.0,
"location": -0.35,
"value": 2.2
},
{
"derivative": 0.0,
"location": -0.25,
"value": 2.67
},
{
"derivative": 0.0,
"location": -0.1,
"value": 2.5
},
{
"derivative": 0.0,
"location": 0.03,
"value": 2.2
},
{
"derivative": 0.0,
"location": 0.05,
"value": 2.69
},
{
"derivative": 0.0,
"location": 0.4,
"value": 2.4
}
]
}
}
]
}
}
}
}
}
}
}

View file

@ -0,0 +1,303 @@
{
"type": "minecraft:flat_cache",
"argument": {
"type": "minecraft:cache_2d",
"argument": {
"type": "minecraft:add",
"argument1": 0.0,
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:blend_alpha"
},
"argument2": {
"type": "minecraft:add",
"argument1": -0.0,
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:venus/continents",
"points": [
{
"derivative": 0.0,
"location": -0.05,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.03,
"value": {
"coordinate": "tfg:venus/erosion",
"points": [
{
"derivative": 0.0,
"location": -1.0,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": 0.0
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.63
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.3
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.78,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": 0.0
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.315
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.15
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.5775,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": 0.0
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.315
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.15
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.375,
"value": 0.0
}
]
}
},
{
"derivative": 0.0,
"location": 0.65,
"value": {
"coordinate": "tfg:venus/erosion",
"points": [
{
"derivative": 0.0,
"location": -1.0,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.63
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.3
}
]
}
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.63
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.3
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.78,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": 0.0
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.63
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.3
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.5775,
"value": {
"coordinate": "tfg:venus/ridges_folded",
"points": [
{
"derivative": 0.0,
"location": 0.19999999,
"value": 0.0
},
{
"derivative": 0.0,
"location": 0.44999996,
"value": 0.0
},
{
"derivative": 0.0,
"location": 1.0,
"value": {
"coordinate": "tfg:venus/ridges",
"points": [
{
"derivative": 0.0,
"location": -0.01,
"value": 0.63
},
{
"derivative": 0.0,
"location": 0.01,
"value": 0.3
}
]
}
}
]
}
},
{
"derivative": 0.0,
"location": -0.375,
"value": 0.0
}
]
}
}
]
}
}
}
}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,12 @@
{
"type": "minecraft:flat_cache",
"argument": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:ridge",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.5,
"y_scale": 0.0
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:mul",
"argument1": -3.0,
"argument2": {
"type": "minecraft:add",
"argument1": -0.3333333333333333,
"argument2": {
"type": "minecraft:abs",
"argument": {
"type": "minecraft:add",
"argument1": -0.6666666666666666,
"argument2": {
"type": "minecraft:abs",
"argument": "tfg:venus/ridges"
}
}
}
}
}

View file

@ -0,0 +1,32 @@
{
"type": "minecraft:add",
"argument1": {
"type": "minecraft:mul",
"argument1": 4.0,
"argument2": {
"type": "minecraft:quarter_negative",
"argument": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:add",
"argument1": "tfg:venus/depth",
"argument2": {
"type": "minecraft:mul",
"argument1": "tfg:venus/jaggedness",
"argument2": {
"type": "minecraft:half_negative",
"argument": {
"type": "minecraft:noise",
"noise": "minecraft:jagged",
"xz_scale": 1500.0,
"y_scale": 0.0
}
}
}
},
"argument2": "tfg:venus/factor"
}
}
},
"argument2": "tfg:venus/base_3d_noise"
}