Skip to content

Commit e32aac6

Browse files
committed
replace top level delta features with fluidlogged vegetation patch features, since they're much less prone to leaking
1 parent df1d5ff commit e32aac6

7 files changed

Lines changed: 125 additions & 31 deletions

File tree

kubejs/data/tfg/worldgen/configured_feature/nether/terrain/lush_caves_clay.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,20 @@
1717
"chance": 0.4,
1818
"feature": {
1919
"feature": "tfg:nether/terrain/clay_patch_kaolin",
20-
"placement": []
20+
"placement": [
21+
{
22+
"type": "minecraft:height_range",
23+
"height": {
24+
"type": "minecraft:uniform",
25+
"max_inclusive": {
26+
"absolute": 120
27+
},
28+
"min_inclusive": {
29+
"above_bottom": 48
30+
}
31+
}
32+
}
33+
]
2134
}
2235
}
2336
]
Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,42 @@
11
{
2-
"type": "minecraft:delta_feature",
2+
"type": "tfg:fluidlogged_vegetation_patch",
33
"config": {
4-
"contents": {
5-
"Name": "tfg:fluid/muddy_water"
4+
"depth": 1,
5+
"extra_bottom_block_chance": 0.8,
6+
"extra_edge_column_chance": 0.7,
7+
"ground_state": {
8+
"type": "minecraft:simple_state_provider",
9+
"state": {
10+
"Name": "tfg:hardened_clay"
11+
}
612
},
7-
"rim": {
8-
"Name": "tfg:hardened_clay"
13+
"fluid_state": "tfg:fluid/muddy_water",
14+
"replaceable": "#minecraft:nether_carver_replaceables",
15+
"surface": "floor",
16+
"vegetation_chance": 0.1,
17+
"vegetation_feature": {
18+
"feature": "tfc:loose_rock",
19+
"placement": [
20+
{
21+
"type": "minecraft:random_offset",
22+
"xz_spread": 0,
23+
"y_spread": -1
24+
},
25+
{
26+
"type": "block_predicate_filter",
27+
"predicate": {
28+
"type": "tfc:air_or_empty_fluid"
29+
}
30+
}
31+
]
932
},
10-
"rim_size": {
33+
"vertical_range": 3,
34+
"xz_radius": {
1135
"type": "minecraft:uniform",
1236
"value": {
1337
"max_inclusive": 3,
1438
"min_inclusive": 2
1539
}
16-
},
17-
"size": {
18-
"type": "minecraft:uniform",
19-
"value": {
20-
"max_inclusive": 6,
21-
"min_inclusive": 3
22-
}
2340
}
2441
}
2542
}
Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,47 @@
11
{
2-
"type": "minecraft:delta_feature",
2+
"type": "tfg:fluidlogged_vegetation_patch",
33
"config": {
4-
"contents": {
5-
"Name": "tfc:fluid/salt_water"
4+
"depth": 1,
5+
"extra_bottom_block_chance": 0.2,
6+
"extra_edge_column_chance": 0.5,
7+
"ground_state": {
8+
"type": "minecraft:simple_state_provider",
9+
"state": {
10+
"Name": "tfg:halite"
11+
}
612
},
7-
"rim": {
8-
"Name": "tfg:halite"
13+
"fluid_state": "tfc:fluid/salt_water",
14+
"replaceable": "#minecraft:nether_carver_replaceables",
15+
"surface": "floor",
16+
"vegetation_chance": 0.3,
17+
"vegetation_feature": {
18+
"feature": {
19+
"type": "minecraft:simple_block",
20+
"config": {
21+
"to_place": {
22+
"type": "minecraft:simple_state_provider",
23+
"state": {
24+
"Name": "tfc:plant/red_algae"
25+
}
26+
}
27+
}
28+
},
29+
"placement": [
30+
{
31+
"type": "block_predicate_filter",
32+
"predicate": {
33+
"type": "tfc:air_or_empty_fluid"
34+
}
35+
}
36+
]
937
},
10-
"rim_size": {
38+
"vertical_range": 3,
39+
"xz_radius": {
1140
"type": "minecraft:uniform",
1241
"value": {
1342
"max_inclusive": 3,
1443
"min_inclusive": 2
1544
}
16-
},
17-
"size": {
18-
"type": "minecraft:uniform",
19-
"value": {
20-
"max_inclusive": 6,
21-
"min_inclusive": 3
22-
}
2345
}
2446
}
2547
}

kubejs/data/tfg/worldgen/placed_feature/nether/surface/sand.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"placement": [
44
{
55
"type": "minecraft:count",
6-
"count": 10
6+
"count": 30
77
},
88
{
99
"type": "minecraft:in_square"

kubejs/data/tfg/worldgen/placed_feature/nether/terrain/lush_caves_clay.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"placement": [
44
{
55
"type": "minecraft:count",
6-
"count": 12
6+
"count": 10
77
},
88
{
99
"type": "minecraft:in_square"

kubejs/data/tfg/worldgen/placed_feature/nether/terrain/mud_delta.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"placement": [
44
{
55
"type": "minecraft:count",
6-
"count": 60
6+
"count": 3
77
},
88
{
99
"type": "minecraft:in_square"
@@ -22,6 +22,27 @@
2222
},
2323
{
2424
"type": "minecraft:biome"
25+
},
26+
{
27+
"type": "minecraft:environment_scan",
28+
"allowed_search_condition": {
29+
"type": "minecraft:matching_blocks",
30+
"blocks": "minecraft:air"
31+
},
32+
"direction_of_search": "down",
33+
"max_steps": 12,
34+
"target_condition": {
35+
"type": "minecraft:solid"
36+
}
37+
},
38+
{
39+
"type": "minecraft:biome"
40+
},
41+
{
42+
"type": "tfc:flat_enough",
43+
"flatness": 0.7,
44+
"radius": 4,
45+
"max_depth": 3
2546
}
2647
]
2748
}

kubejs/data/tfg/worldgen/placed_feature/nether/terrain/salt_delta.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"placement": [
44
{
55
"type": "minecraft:count",
6-
"count": 60
6+
"count": 3
77
},
88
{
99
"type": "minecraft:in_square"
@@ -22,6 +22,27 @@
2222
},
2323
{
2424
"type": "minecraft:biome"
25+
},
26+
{
27+
"type": "minecraft:environment_scan",
28+
"allowed_search_condition": {
29+
"type": "minecraft:matching_blocks",
30+
"blocks": "minecraft:air"
31+
},
32+
"direction_of_search": "down",
33+
"max_steps": 12,
34+
"target_condition": {
35+
"type": "minecraft:solid"
36+
}
37+
},
38+
{
39+
"type": "minecraft:biome"
40+
},
41+
{
42+
"type": "tfc:flat_enough",
43+
"flatness": 0.7,
44+
"radius": 4,
45+
"max_depth": 3
2546
}
2647
]
2748
}

0 commit comments

Comments
 (0)