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

53 lines
1.0 KiB
JSON

{
"type": "minecraft:block_column",
"allowed_placement": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
},
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water",
"offset": [
0,
1,
0
]
}
]
},
"direction": "up",
"layers": [
{
"height": {
"type": "minecraft:uniform",
"max_inclusive": 9,
"min_inclusive": 0
},
"provider": {
"id": "minecraft:kelp_plant"
}
},
{
"height": 1,
"provider": {
"type": "minecraft:randomized_int",
"property": "age",
"source": {
"id": "minecraft:kelp",
"properties": {
"age": "0"
}
},
"values": {
"type": "minecraft:uniform",
"max_inclusive": 23,
"min_inclusive": 20
}
}
}
],
"prioritize_tip": true
}