Presently pool_aliases can only be defined on the root jigsaw structure file.
It would be neat to be able to apply a pool_alias within a specific template_pool entry.
Within the house frame template pool if you could specify that jigsaws that point to "wall" could have a randomly chosen pool alias so that it picks from birch walls, or pale oak walls throughout just that particular house's generation.
Let's say it randomly picks frame1 and birch walls. Any reference from any jigsaw within frame1 with target "wall" will always hit the birch wall template pool. The structure might generate 4 different walls, but they're all guaranteed to come from the birch pool.
Example:
House Frames Template Pool
{
"name": "house_frames",
"fallback": "minecraft:empty",
"pool_aliases": [
{
"type": "minecraft:random",
"alias": "wall",
"targets": [
{
"weight": 1,
"data": "custom_village:walls/birch_walls"
},
{
"weight": 1,
"data": "custom_village:walls/pale_oak_walls"
}
]
}
],
"elements": [
{
"weight": 1,
"element": {
"element_type": "minecraft:single_pool_element",
"projection": "rigid",
"location": "custom_village:house_frames/frame1",
}
},
{
"weight": 1,
"element": {
"element_type": "minecraft:single_pool_element",
"projection": "rigid",
"location": "custom_village:house_frames/frame2"
}
},
]
}
Please sign in to leave a comment.
1 Comments