Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
{
"feature": "minecraft:patch_grass",
"placement": [
{
"type": "minecraft:count",
"count": {
"type": "minecraft:biased_to_bottom",
"value": {
"min_inclusive": 1,
"max_inclusive": 3
}...
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 9,
"targets": [
{
"state": {
"Name": "rechroma:purple_crystal_block"
},
"target": {
"block": "minecraft:cave_air",
"predicate_type": "minecraft:block_match"
}
},
{
"state": {
"Name": "rechroma:purple_crystal_block"
},
"target": {
"block": "minecraft:air",
"predicate_type": "minecraft:block_match"
}
}
]
}
}
{
"feature": "rechroma:crystal",
"placement": [
{
"type": "minecraft:count",
"count": 3
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:environment_scan",
"direction_of_search": "down",
"max_steps": 30,
"target_condition": {
"type": "minecraft:matching_blocks",
"offset": [
0,
-1,
0
],
"blocks": [
"minecraft:stone",
"minecraft:deepslate",
"minecraft:diorite",
"minecraft:andesite",
"minecraft:granite"
]
},
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"offset": [
0,
0,
0
],
"blocks": [
"minecraft:air",
"minecraft:cave_air"
]
}
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"max_inclusive": {
"absolute": 80
},
"min_inclusive": {
"absolute": -64
}
}
},
{
"type": "minecraft:biome"
}
]
}
Ну конечно, так оно генерироваться точно не будет.я пробовал делать так, чтобы она заменяло блоки воздуха, а потом опускалось вниз, пока блок под ним не станет одним из видов камня, но руда вообще перестала появлятся
{
"type": "minecraft:environment_scan",
"direction_of_search": "down",
"max_steps": 1,
"target_condition": {
"type": "minecraft:solid"
}
}


Я не очень хорошо выразился, прошу прощения.ты говоришь, что Placed Feature и Configured не определяет конечное положение руды, но на вики написано, что модификаторы размещения в Placed Feature могут изменять положение.
{
"feature": {
"_comment": "Для примера отсутствует Configured feature, поскольку мне лень подбирать подходящий",
"type": "minecraft:no_op",
"config": {}
},
"placement": [
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"min_inclusive": {
"absolute": -20
},
"max_inclusive": {
"absolute": 60
}
}
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:carving_mask",
"step": "air"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:base_stone_overworld"
}
}
]
}
{
"type": "minecraft:rarity_filter",
"chance": 20
},
{
"type": "minecraft:count",
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"weight": 2,
"data": 2
},
{
"weight": 7,
"data": 1
},
{
"weight": 1,
"data": 3
}
]
}
}

{
"feature": "minecraft:patch_grass",
"placement": [
{
"type": "minecraft:count",
"count": {
"type": "minecraft:biased_to_bottom",
"value": {
"min_inclusive": 1,
"max_inclusive": 3
}
}
},
{
"type": "minecraft:rarity_filter",
"chance": 50
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:carving_mask",
"step": "air"
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:base_stone_overworld"
}
}
]
}