Skip to content

Commit 1ea77fa

Browse files
committed
Update random patch features
1 parent 0000298 commit 1ea77fa

2 files changed

Lines changed: 40 additions & 10 deletions

File tree

gm4_zauber_cauldrons/data/gm4_zauber_cauldrons/templates/worldgen/configured_feature/flower_patch.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
2-
"type": "minecraft:flower",
2+
"type": "minecraft:random_selector",
33
"config": {
4-
"tries": 8,
5-
"xz_spread": 5,
6-
"y_spread": 1,
7-
"feature": {
4+
"features": [],
5+
"default": {
86
"feature": {
97
"type": "minecraft:simple_block",
108
"config": {
@@ -17,6 +15,23 @@
1715
}
1816
},
1917
"placement": [
18+
{
19+
"type": "minecraft:count",
20+
"count": 8
21+
},
22+
{
23+
"type": "minecraft:random_offset",
24+
"xz_spread": {
25+
"type": "minecraft:uniform",
26+
"min_inclusive": 0,
27+
"max_inclusive": 5
28+
},
29+
"y_spread": {
30+
"type": "minecraft:uniform",
31+
"min_inclusive": 0,
32+
"max_inclusive": 1
33+
}
34+
},
2035
{
2136
"type": "minecraft:block_predicate_filter",
2237
"predicate": {

gm4_zauber_cauldrons/data/gm4_zauber_cauldrons/worldgen/configured_feature/short_grass_patch.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
2-
"type": "minecraft:flower",
2+
"type": "minecraft:random_selector",
33
"config": {
4-
"tries": 8,
5-
"xz_spread": 5,
6-
"y_spread": 1,
7-
"feature": {
4+
"features": [],
5+
"default": {
86
"feature": {
97
"type": "minecraft:simple_block",
108
"config": {
@@ -17,6 +15,23 @@
1715
}
1816
},
1917
"placement": [
18+
{
19+
"type": "minecraft:count",
20+
"count": 8
21+
},
22+
{
23+
"type": "minecraft:random_offset",
24+
"xz_spread": {
25+
"type": "minecraft:uniform",
26+
"min_inclusive": 0,
27+
"max_inclusive": 5
28+
},
29+
"y_spread": {
30+
"type": "minecraft:uniform",
31+
"min_inclusive": 0,
32+
"max_inclusive": 1
33+
}
34+
},
2035
{
2136
"type": "minecraft:block_predicate_filter",
2237
"predicate": {

0 commit comments

Comments
 (0)