peat discs

This commit is contained in:
Pyritie 2025-08-26 01:37:45 +01:00
parent 669e0f7cac
commit c0bcf9ba18
13 changed files with 142 additions and 12 deletions

View file

@ -47,7 +47,8 @@
"tfc:raw_boulder",
"tfc:cobble_boulder",
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"
"tfc:cobble_boulder_small_patch",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_amber_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -37,11 +37,13 @@
[],
"#tfg:mars_veins",
[
"tfg:mars/terrain/clay_disc"
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfg:mars/semiheavy_ammoniacal_water"
"tfg:mars/semiheavy_ammoniacal_water",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_amber_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -42,7 +42,8 @@
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch",
"tfg:mars/surface/small_skull_and_bones",
"tfg:mars/surface/large_skull_and_bones"
"tfg:mars/surface/large_skull_and_bones",
"tfg:mars/surface/rotten_flesh_patch"
],
[

View file

@ -41,7 +41,8 @@
[],
[
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"
"tfc:cobble_boulder_small_patch",
"tfg:mars/surface/rotten_flesh_patch"
],
[

View file

@ -47,7 +47,8 @@
"tfc:raw_boulder",
"tfc:cobble_boulder",
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"
"tfc:cobble_boulder_small_patch",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_rusticus_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -37,11 +37,13 @@
[],
"#tfg:mars_veins",
[
"tfg:mars/terrain/clay_disc"
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfg:mars/semiheavy_ammoniacal_water"
"tfg:mars/semiheavy_ammoniacal_water",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_rusticus_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -47,7 +47,8 @@
"tfc:raw_boulder",
"tfc:cobble_boulder",
"tfc:raw_boulder_small_patch",
"tfc:cobble_boulder_small_patch"
"tfc:cobble_boulder_small_patch",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_sangnum_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -37,11 +37,13 @@
[],
"#tfg:mars_veins",
[
"tfg:mars/terrain/clay_disc"
"tfg:mars/terrain/clay_disc",
"tfg:mars/terrain/peat_disc"
],
[
"tfg:mars_forest",
"tfg:mars/semiheavy_ammoniacal_water"
"tfg:mars/semiheavy_ammoniacal_water",
"tfg:mars/surface/rotten_flesh_patch"
],
"#tfg:mars_sangnum_vegetal_decoration",
"#tfg:mars_top_layer_modification"

View file

@ -0,0 +1,51 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "tfc:groundcover/bone"
},
"weight": 20
},
{
"data": {
"Name": "tfc:groundcover/rotten_flesh"
},
"weight": 80
}
]
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_block_tag",
"offset": [ 0, -1, 0 ],
"tag": "tfg:mars_soil"
}
]
}
}
]
},
"tries": 8,
"xz_spread": 4,
"y_spread": 2
}
}

View file

@ -0,0 +1,26 @@
{
"type": "tfc:soil_disc",
"config": {
"min_radius": 5,
"max_radius": 9,
"height": 7,
"states": [
{
"replace": "tfg:grass/mars_dirt",
"with": "tfc:peat"
},
{
"replace": "tfg:grass/amber_mycelium",
"with": "tfc:peat"
},
{
"replace": "tfg:grass/rusticus_mycelium",
"with": "tfc:peat"
},
{
"replace": "tfg:grass/sangnum_mycelium",
"with": "tfc:peat"
}
]
}
}

View file

@ -0,0 +1,19 @@
{
"feature": "tfg:mars/surface/rotten_flesh_patch",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 50
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE"
}
]
}

View file

@ -0,0 +1,19 @@
{
"feature": "tfg:mars/terrain/peat_disc",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 100
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -398,7 +398,11 @@ const registerAdAstraEntityTypeTags = (event) => {
event.add('tfg:ignores_gravity', 'species:birt')
event.add('tfg:ignores_gravity', 'ad_astra:star_crawler')
// this guy has a bounce animation that looks silly in low grav
event.add('tfg:ignores_gravity', 'wan_ancient_beasts:crusher')
// this huge guy also looks silly in low grav
event.add('tfg:ignores_gravity', 'wan_ancient_beasts:walker')
// flying mobs
event.add('tfg:ignores_gravity', 'wan_ancient_beasts:soarer')
event.add('tfg:ignores_gravity', 'wan_ancient_beasts:glider')
}
@ -424,7 +428,7 @@ const registerAdAstraPlacedFeatures = (event) => {
event.add('tfg:moon_small_rock_features', 'tfg:moon/surface/pile_black_sand')
//#region Mars
event.add('tfg:mars_veins', 'tfg:mars/terrain/ochrum_blob')
// Vegetation
event.add("tfg:mars_amber_small_plants", "tfg:mars/crop/amber_root")