Pumpkin/assets/datapack/data/minecraft/worldgen/feature/disk_grass.json

57 lines
1.1 KiB
JSON

{
"type": "minecraft:disk",
"half_height": 2,
"radius": {
"type": "minecraft:uniform",
"max_inclusive": 6,
"min_inclusive": 2
},
"state_provider": {
"type": "minecraft:rule_based",
"fallback": {
"id": "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": {
"id": "minecraft:grass_block",
"properties": {
"snowy": "false"
}
}
}
]
},
"target": {
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:dirt",
"minecraft:mud"
]
}
}