some progress on mars worldgen stuff

This commit is contained in:
Pyritie 2025-08-27 01:56:04 +01:00
parent 11526857bb
commit 032d6fa49c
11 changed files with 1248 additions and 102878 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,6 @@
{
"carvers": {
"air": [
"tfg:mars_cave",
"tfg:mars_canyon"
]
"air": []
},
"downfall": 0.0,
"effects": {
@ -32,23 +29,19 @@
"tfg:earth/geode/pyrite",
"tfg:earth/geode/quartzite"
],
[
],
[],
[],
[],
"#tfg:mars_veins",
[],
[
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfc:raw_boulder",
"tfc:cobble_boulder",
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"
],
[
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_amber_vegetal_decoration",
"#tfg:mars_top_layer_modification"
],
"has_precipitation": false,
@ -75,16 +68,52 @@
"axolotls": [],
"creature": [
{
"type": "tfg:wraptor",
"maxCount": 2,
"minCount": 1,
"weight": 50
},
{
"type": "species:goober",
"maxCount": 2,
"type": "tfg:sniffer",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "tfg:wraptor",
"maxCount": 4,
"minCount": 2,
"weight": 100
},
{
"type": "wan_ancient_beasts:walker",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:crusher",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:glider",
"maxCount": 2,
"minCount": 1,
"weight": 20
},
{
"type": "wan_ancient_beasts:soarer",
"maxCount": 1,
"minCount": 1,
"weight": 5
},
{
"type": "tfg:glacian_ram",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:eater",
"maxCount": 1,
"minCount": 1,
"weight": 5
}
],
"misc": [],
@ -117,16 +146,10 @@
"underground_water_creature": [],
"water_ambient": [],
"water_creature": [
{
"type": "wan_ancient_beasts:toxlacanth",
"maxCount": 5,
"minCount": 2,
"weight": 100
},
{
"type": "wan_ancient_beasts:surfer",
"maxCount": 3,
"minCount": 2,
"maxCount": 2,
"minCount": 1,
"weight": 100
}
]

View file

@ -0,0 +1,158 @@
{
"carvers": {
"air": []
},
"downfall": 0.0,
"effects": {
"fog_color": 15117444,
"mood_sound": {
"block_search_extent": 8,
"offset": 2.0,
"sound": "minecraft:ambient.cave",
"tick_delay": 6000
},
"sky_color": 15117444,
"water_color": 4159204,
"water_fog_color": 1069623
},
"features": [
[
"tfc:erosion"
],
[],
[
"tfg:earth/geode/amethyst",
"tfg:earth/geode/barite",
"tfg:earth/geode/calcite",
"tfg:earth/geode/gypsum",
"tfg:earth/geode/opal",
"tfg:earth/geode/pyrite",
"tfg:earth/geode/quartzite"
],
[],
[],
[],
"#tfg:mars_veins",
[
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_rusticus_vegetal_decoration",
"#tfg:mars_top_layer_modification"
],
"has_precipitation": false,
"spawn_costs": {
"endermanoverhaul:crimson_forest_enderman": {
"energy_budget": 0.05,
"charge": 0.9
},
"endermanoverhaul:warped_forest_enderman": {
"energy_budget": 0.05,
"charge": 0.9
},
"endermanoverhaul:badlands_enderman": {
"energy_budget": 0.05,
"charge": 0.9
},
"minecraft:enderman": {
"energy_budget": 0.05,
"charge": 0.9
}
},
"spawners": {
"ambient": [],
"axolotls": [],
"creature": [
{
"type": "tfg:sniffer",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "tfg:wraptor",
"maxCount": 4,
"minCount": 2,
"weight": 100
},
{
"type": "wan_ancient_beasts:walker",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:crusher",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:glider",
"maxCount": 2,
"minCount": 1,
"weight": 20
},
{
"type": "wan_ancient_beasts:soarer",
"maxCount": 1,
"minCount": 1,
"weight": 5
},
{
"type": "tfg:glacian_ram",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:eater",
"maxCount": 1,
"minCount": 1,
"weight": 5
}
],
"misc": [],
"monster": [
{
"type": "endermanoverhaul:crimson_forest_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 100
},
{
"type": "endermanoverhaul:warped_forest_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 100
},
{
"type": "endermanoverhaul:badlands_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 100
},
{
"type": "minecraft:enderman",
"maxCount": 1,
"minCount": 1,
"weight": 20
}
],
"underground_water_creature": [],
"water_ambient": [],
"water_creature": [
{
"type": "wan_ancient_beasts:surfer",
"maxCount": 2,
"minCount": 1,
"weight": 100
}
]
},
"temperature": 0.8
}

View file

@ -1,8 +1,6 @@
{
"carvers": {
"air": [
"tfg:mars_cave"
]
"air": []
},
"downfall": 0.0,
"effects": {
@ -31,20 +29,17 @@
"tfg:earth/geode/pyrite",
"tfg:earth/geode/quartzite"
],
[
"tfc:random_empty_hot_spring"
],
[],
[],
[],
"#tfg:mars_veins",
[],
[
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfc:raw_boulder",
"tfc:cobble_boulder",
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch",
"tfg:mars/semiheavy_ammoniacal_water"
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_sangnum_vegetal_decoration",
"#tfg:mars_top_layer_modification"
@ -66,41 +61,80 @@
"minecraft:enderman": {
"energy_budget": 0.05,
"charge": 0.9
},
"species:quake": {
"energy_budget": 0.15,
"charge": 0.7
}
},
"spawners": {
"ambient": [],
"axolotls": [],
"creature": [],
"creature": [
{
"type": "tfg:sniffer",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "tfg:wraptor",
"maxCount": 4,
"minCount": 2,
"weight": 100
},
{
"type": "wan_ancient_beasts:walker",
"maxCount": 3,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:crusher",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:glider",
"maxCount": 2,
"minCount": 1,
"weight": 20
},
{
"type": "wan_ancient_beasts:soarer",
"maxCount": 1,
"minCount": 1,
"weight": 5
},
{
"type": "tfg:glacian_ram",
"maxCount": 5,
"minCount": 1,
"weight": 100
},
{
"type": "wan_ancient_beasts:eater",
"maxCount": 1,
"minCount": 1,
"weight": 5
}
],
"misc": [],
"monster": [
{
"type": "species:quake",
"type": "endermanoverhaul:crimson_forest_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 100
},
{
"type": "endermanoverhaul:crimson_forest_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 20
},
{
"type": "endermanoverhaul:warped_forest_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 20
"weight": 100
},
{
"type": "endermanoverhaul:badlands_enderman",
"maxCount": 1,
"minCount": 1,
"weight": 50
"weight": 100
},
{
"type": "minecraft:enderman",

View file

@ -122,11 +122,6 @@
{
"derivative": 0.0,
"location": -1.1,
"value": -0.4
},
{
"derivative": 0.0,
"location": -1.02,
"value": 0.4
},
{
@ -153,11 +148,6 @@
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"derivative": 0.0,
"location": -1.1,
"value": 0.2222
},
{
"derivative": 0.0,
"location": -1.02,

View file

@ -1,12 +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.25,
"y_scale": 0.0
}
}
"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.25,
"y_scale": 0.0
}
}

View file

@ -0,0 +1,43 @@
{
"type": "minecraft:mul",
"argument1": {
"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.25,
"y_scale": 0.0
}
},
"argument2": {
"type": "minecraft:spline",
"spline": {
"coordinate": "tfg:mars/continents",
"points": [
{
"location": -1,
"derivative": 0,
"value": 0
},
{
"location": -0.12,
"derivative": 0,
"value": 0
},
{
"location": -0.10,
"derivative": 0,
"value": 1
},
{
"location": 1,
"derivative": 0,
"value": 1
}
]
}
}
}

View file

@ -32,7 +32,7 @@
"points": [
{
"derivative": 0.0,
"location": -0.18,
"location": -0.19,
"value": -1
},
{
@ -111,12 +111,12 @@
"points": [
{
"derivative": 0.0,
"location": -0.18,
"location": -0.12,
"value": -1
},
{
"derivative": 0.0,
"location": -0.17,
"location": -0.11,
"value": 0
}
]
@ -137,12 +137,12 @@
"points": [
{
"derivative": 0.0,
"location": -0.18,
"location": -0.12,
"value": 0
},
{
"derivative": 0.0,
"location": -0.17,
"location": -0.11,
"value": 1
}
]
@ -225,12 +225,12 @@
"points": [
{
"derivative": 0.0,
"location": -0.19,
"location": -0.17,
"value": 1
},
{
"derivative": 0.0,
"location": -0.17,
"location": -0.16,
"value": 0
}
]
@ -238,7 +238,7 @@
}
},
"lava": 0,
"ridges": "tfg:mars/ridges",
"ridges": "tfg:mars/ridges_splined",
"temperature": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:temperature",
@ -288,8 +288,7 @@
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/martian_river",
"tfg:mars/martian_riverbed"
"tfg:mars/martian_river"
]
},
"then_run": {
@ -341,6 +340,118 @@
}
}
},
{
"_": "VENUS SAND ONLY FOR DUNE EDGE",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/martian_dune_edge"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 85
},
"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": 100
},
"true_at_and_below": {
"absolute": 90
}
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sand"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:mars_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": 97
},
"true_at_and_below": {
"absolute": 87
}
}
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:venus_sandstone"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "ad_astra:mars_stone"
}
}
]
}
}
]
}
}
},
{
"_": "SAND + SAND STONE HARDENING",
"type": "minecraft:condition",
@ -584,13 +695,88 @@
}
},
{
"_": "AMBER EDGE",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/amber_edge"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 90
},
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "ceiling",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "hardened",
"fallback_state": {
"Name": "ad_astra:mars_stone"
}
}
},
{
"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"
}
}
}
]
}
}
},
{
"_": "AMBER MYCELIUM + DIRT",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/amber_edge",
"tfg:mars/amber_hills",
"tfg:mars/amber_plains"
]
@ -601,69 +787,134 @@
"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",
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"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"
}
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
{
"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"
}
"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 EDGE",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/rusticus_edge"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 90
},
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "ceiling",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "hardened",
"fallback_state": {
"Name": "ad_astra:mars_stone"
}
}
},
{
"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"
}
}
}
]
}
}
},
@ -673,6 +924,7 @@
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/rusticus_edge",
"tfg:mars/rusticus_hills",
"tfg:mars/rusticus_plains"
]
@ -683,69 +935,135 @@
"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: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",
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"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"
}
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
{
"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"
}
"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 EDGE",
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/sangnum_edge"
]
},
"then_run": {
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:y_above",
"anchor": {
"absolute": 90
},
"surface_depth_multiplier": 0,
"add_stone_depth": false
},
"then_run": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "ceiling",
"add_surface_depth": false,
"secondary_depth_range": 0
},
"then_run": {
"type": "kubejs_tfc:rock",
"rock_block": "hardened",
"fallback_state": {
"Name": "ad_astra:mars_stone"
}
}
},
{
"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"
}
}
}
]
}
}
},
@ -755,9 +1073,9 @@
"if_true": {
"type": "minecraft:biome",
"biome_is": [
"tfg:mars/sangnum_edge",
"tfg:mars/sangnum_hills",
"tfg:mars/sangnum_plains",
"tfg:mars/martian_oasis"
"tfg:mars/sangnum_plains"
]
},
"then_run": {
@ -766,69 +1084,60 @@
"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: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",
"type": "minecraft:not",
"invert": {
"type": "minecraft:water",
"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"
}
"surface_depth_multiplier": 0,
"add_stone_depth": false
}
},
{
"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"
}
"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"
}
}
}
]
}
}
},

View file

@ -328,17 +328,18 @@ const registerAdAstraBiomeTags = (event) => {
event.add('tfg:has_dark_sand_particles', 'tfg:mars/martian_dunes')
event.add('tfg:has_dark_sand_particles', 'tfg:mars/martian_deep_desert')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/martian_dune_edge')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/amber_plains')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/amber_hills')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/rusticus_plains')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/rusticus_hills')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/sangnum_plains')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/sangnum_hills')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/martian_oasis')
event.add('tfg:has_medium_sand_particles', 'tfg:mars/martian_mountains')
event.add('tfg:has_light_sand_particles', 'tfg:mars/martian_dune_edge')
event.add('tfg:has_light_sand_particles', 'tfg:mars/amber_edge')
event.add('tfg:has_light_sand_particles', 'tfg:mars/rusticus_edge')
event.add('tfg:has_light_sand_particles', 'tfg:mars/sangnum_edge')
event.add('tfg:has_light_sand_particles', 'tfg:mars/martian_mountains')
event.add('tfg:has_light_sand_particles', 'tfg:mars/martian_river')
event.add('tfg:has_light_sand_particles', 'tfg:mars/martian_riverbed')
}
const registerAdAstraEntityTypeTags = (event) => {

View file

@ -161,7 +161,6 @@ function registerGTCEUBedrockFluidVeins(event) {
const Registries = Java.loadClass("net.minecraft.core.registries.Registries")
const ResourceKey = Java.loadClass("net.minecraft.resources.ResourceKey")
const martianOasisResourceKey = ResourceKey.create(Registries.BIOME, "tfg:mars/martian_oasis")
const martianAmberHillsResourceKey = ResourceKey.create(Registries.BIOME, "tfg:mars/amber_hills")
const martianAmberPlainsResourceKey = ResourceKey.create(Registries.BIOME, "tfg:mars/amber_plains")
const martianMountainsResourceKey = ResourceKey.create(Registries.BIOME, "tfg:mars/martian_mountains")
@ -194,18 +193,6 @@ function registerGTCEUBedrockFluidVeins(event) {
// Heavy Ammonical Water in Specific Biome Credit to Monifactory from https://github.com/ThePansmith/Monifactory/blob/main/kubejs/server_scripts/worldgen/fluidVeins.js
event.add('tfg:heavy_ammoniacal_water_oasis', vein => {
vein.dimensions('ad_astra:mars')
vein.fluid(() => Fluid.of('tfg:heavy_ammoniacal_water').fluid)
vein.biomes(350, martianOasisResourceKey)
vein.weight(0)
vein.minimumYield(300)
vein.maximumYield(650)
vein.depletionAmount(1)
vein.depletionChance(20)
vein.depletedYield(20)
})
event.add('tfg:heavy_ammoniacal_water_amber_hills', vein => {
vein.dimensions('ad_astra:mars')
vein.fluid(() => Fluid.of('tfg:heavy_ammoniacal_water').fluid)
@ -289,19 +276,4 @@ function registerGTCEUBedrockFluidVeins(event) {
vein.depletionChance(20)
vein.depletedYield(5)
})
// Ammonia
event.add('tfg:ammonia_mars_oasis', vein => {
vein.dimensions('ad_astra:mars')
vein.fluid(() => Fluid.of('gtceu:ammonia').fluid)
vein.biomes(400, martianOasisResourceKey)
vein.weight(0)
vein.minimumYield(300)
vein.maximumYield(650)
vein.depletionAmount(1)
vein.depletionChance(20)
vein.depletedYield(20)
})
}

View file

@ -85,16 +85,17 @@ global.MOON_BIOMES = [
* @type {string[]} - Biome IDs
*/
global.MARS_BIOMES = [
'tfg:mars/martian_oasis',
'tfg:mars/martian_deep_desert',
'tfg:mars/martian_dunes',
'tfg:mars/martian_dune_edge',
'tfg:mars/martian_river',
'tfg:mars/martian_riverbed',
'tfg:mars/amber_edge',
'tfg:mars/amber_plains',
'tfg:mars/amber_hills',
'tfg:mars/rusticus_edge',
'tfg:mars/rusticus_plains',
'tfg:mars/rusticus_hills',
'tfg:mars/sangnum_edge',
'tfg:mars/sangnum_plains',
'tfg:mars/sangnum_hills',
'tfg:mars/martian_mountains'