117 lines
3.1 KiB
JSON
117 lines
3.1 KiB
JSON
{
|
|
"type": "minecraft:random_patch",
|
|
"config": {
|
|
"feature": {
|
|
"feature": {
|
|
"type": "minecraft:block_column",
|
|
"config": {
|
|
"allowed_placement": {
|
|
"type": "minecraft:matching_blocks",
|
|
"blocks": "minecraft:air"
|
|
},
|
|
"direction": "up",
|
|
"layers": [
|
|
{
|
|
"height": {
|
|
"type": "minecraft:biased_to_bottom",
|
|
"value": {
|
|
"max_inclusive": 4,
|
|
"min_inclusive": 2
|
|
}
|
|
},
|
|
"provider": {
|
|
"type": "minecraft:simple_state_provider",
|
|
"state": {
|
|
"Name": "minecraft:sugar_cane",
|
|
"Properties": {
|
|
"age": "0"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"prioritize_tip": false
|
|
}
|
|
},
|
|
"placement": [
|
|
{
|
|
"type": "minecraft:block_predicate_filter",
|
|
"predicate": {
|
|
"type": "minecraft:all_of",
|
|
"predicates": [
|
|
{
|
|
"type": "minecraft:matching_blocks",
|
|
"blocks": "minecraft:air"
|
|
},
|
|
{
|
|
"type": "minecraft:would_survive",
|
|
"state": {
|
|
"Name": "minecraft:sugar_cane",
|
|
"Properties": {
|
|
"age": "0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:any_of",
|
|
"predicates": [
|
|
{
|
|
"type": "minecraft:matching_fluids",
|
|
"fluids": [
|
|
"minecraft:water",
|
|
"minecraft:flowing_water"
|
|
],
|
|
"offset": [
|
|
1,
|
|
-1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"type": "minecraft:matching_fluids",
|
|
"fluids": [
|
|
"minecraft:water",
|
|
"minecraft:flowing_water"
|
|
],
|
|
"offset": [
|
|
-1,
|
|
-1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"type": "minecraft:matching_fluids",
|
|
"fluids": [
|
|
"minecraft:water",
|
|
"minecraft:flowing_water"
|
|
],
|
|
"offset": [
|
|
0,
|
|
-1,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"type": "minecraft:matching_fluids",
|
|
"fluids": [
|
|
"minecraft:water",
|
|
"minecraft:flowing_water"
|
|
],
|
|
"offset": [
|
|
0,
|
|
-1,
|
|
-1
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"tries": 20,
|
|
"xz_spread": 4,
|
|
"y_spread": 0
|
|
}
|
|
} |