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

172 lines
4.1 KiB
JSON

{
"type": "minecraft:overlay",
"features": [
{
"feature": {
"type": "minecraft:template",
"templates": [
{
"data": {
"id": "minecraft:desert_well/well"
},
"weight": 1
}
]
},
"placement": [
{
"type": "minecraft:offset",
"x": 0,
"y": -2,
"z": 0
}
]
},
{
"feature": {
"type": "minecraft:template",
"processors": {
"processors": [
{
"processor_type": "minecraft:rule",
"rules": [
{
"block_entity_modifier": {
"type": "minecraft:append_loot",
"loot_table": "minecraft:archaeology/desert_well"
},
"input_predicate": {
"block": "minecraft:suspicious_sand",
"predicate_type": "minecraft:block_match"
},
"location_predicate": {
"predicate_type": "minecraft:always_true"
},
"output_state": "minecraft:suspicious_sand"
}
]
}
]
},
"templates": [
{
"data": {
"id": "minecraft:desert_well/suspicious_sand"
},
"weight": 1
}
]
},
"placement": [
{
"type": "minecraft:randomly_selected",
"placements": [
{
"type": "minecraft:offset",
"x": 0,
"y": -1,
"z": 0
},
{
"type": "minecraft:offset",
"x": -1,
"y": -1,
"z": 0
},
{
"type": "minecraft:offset",
"x": 0,
"y": -1,
"z": 1
},
{
"type": "minecraft:offset",
"x": 1,
"y": -1,
"z": 0
},
{
"type": "minecraft:offset",
"x": 0,
"y": -1,
"z": -1
}
]
}
]
},
{
"feature": {
"type": "minecraft:template",
"processors": {
"processors": [
{
"processor_type": "minecraft:rule",
"rules": [
{
"block_entity_modifier": {
"type": "minecraft:append_loot",
"loot_table": "minecraft:archaeology/desert_well"
},
"input_predicate": {
"block": "minecraft:suspicious_sand",
"predicate_type": "minecraft:block_match"
},
"location_predicate": {
"predicate_type": "minecraft:always_true"
},
"output_state": "minecraft:suspicious_sand"
}
]
}
]
},
"templates": [
{
"data": {
"id": "minecraft:desert_well/suspicious_sand"
},
"weight": 1
}
]
},
"placement": [
{
"type": "minecraft:randomly_selected",
"placements": [
{
"type": "minecraft:offset",
"x": 0,
"y": -2,
"z": 0
},
{
"type": "minecraft:offset",
"x": -1,
"y": -2,
"z": 0
},
{
"type": "minecraft:offset",
"x": 0,
"y": -2,
"z": 1
},
{
"type": "minecraft:offset",
"x": 1,
"y": -2,
"z": 0
},
{
"type": "minecraft:offset",
"x": 0,
"y": -2,
"z": -1
}
]
}
]
}
]
}