minecraft-assets/data/minecraft/worldgen/configured_feature/disk_grass.json

66 lines
1.4 KiB
JSON

{
"type": "minecraft:disk",
"config": {
"half_height": 2,
"radius": {
"type": "minecraft:uniform",
"value": {
"max_inclusive": 6,
"min_inclusive": 2
}
},
"state_provider": {
"fallback": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
},
"rules": [
{
"if_true": {
"type": "minecraft:not",
"predicate": {
"type": "minecraft:any_of",
"predicates": [
{
"type": "minecraft:solid",
"offset": [
0,
1,
0
]
},
{
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water",
"offset": [
0,
1,
0
]
}
]
}
},
"then": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:grass_block",
"Properties": {
"snowy": "false"
}
}
}
}
]
},
"target": {
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:dirt",
"minecraft:mud"
]
}
}
}