If a custom biome uses multiple configured structure features of the same type, only one of them can generate
The bug
When multiple configured structure features with the same type are referenced in a biome's starts, only one of them generates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.
How to reproduce:
- Download the attached data pack
- Create a new world and import the data pack. It will replace the overworld with swamps and attempt to generate all types of villages in the swamp biome.
- Locate villages at different positions with the following command:
execute positioned ~3000 ~ ~ run locate village
Only taiga villages generate.
Note: in the pre-releases, the last feature of the same type would always generate, meaning that only plains villages would generate. This seems to have changed in 1.16.2, as I now only get taiga villages.
Created Issue:
If a custom biome uses multiple configured structure features of the same type, only the latter can generate
When multiple configured structure features with the same type are referenced in a biome's starts, only the latter generates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.
How to reproduce:
- Create a custom biome with both minecraft:village_desert and minecraft:village_taiga in starts, or modify a default biome.
- Look for a desert village in your custom biome: only taiga villages generate.
Alternatively, download the attached data pack.
With this data pack, only swamps will generate in the overworld, and all villages are set to generate in the swamp biome. You can locate new villages with execute positioned ~3000 ~ ~ run locate village. All generated villages are plains villages.
When multiple configured structure features with the same type are referenced in a biome's starts, only the latter generates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.
How to reproduce:
- Create a custom biome with both minecraft:village_desert and minecraft:village_taiga in starts, or modify a default biome.
- Look for a desert village in your custom biome: only taiga villages generate.
Alternatively, download the attached data pack.
With this data pack, only swamps will generate in the overworld, and all villages are set to generate in the swamp biome. You can locate new villages with execute positioned ~3000 ~ ~ run locate village. All generated villages are plains villages.The bug
When multiple configured structure features with the same type are referenced in a biome's starts, only the latter generates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.
How to reproduce:
- Download the attached data pack
- Create a new world and import the data pack. It will replace the overworld with swamps and attempt to generate all types of villages in the swamp biome.
- Locate villages at different positions with the following command:
execute positioned ~3000 ~ ~ run locate villageOnly plains villages generate.
If a custom biome uses multiple configured structure features of the same type, onlythe lattercan generateIf a custom biome uses multiple configured structure features of the same type, only one of them can generate
The bug
When multiple configured structure features with the same type are referenced in a biome's starts, only
the lattergenerates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.How to reproduce:
- Download the attached data pack
- Create a new world and import the data pack. It will replace the overworld with swamps and attempt to generate all types of villages in the swamp biome.
- Locate villages at different positions with the following command:
execute positioned ~3000 ~ ~ run locate villageOnly plains villages generate.
The bug
When multiple configured structure features with the same type are referenced in a biome's starts, only one of them generates. For example, it is impossible to have both taiga villages and desert villages generate in the same biome.
How to reproduce:
- Download the attached data pack
- Create a new world and import the data pack. It will replace the overworld with swamps and attempt to generate all types of villages in the swamp biome.
- Locate villages at different positions with the following command:
execute positioned ~3000 ~ ~ run locate villageOnly taiga villages generate.
Note: in the pre-releases, the last feature of the same type would always generate, meaning that only plains villages would generate. This seems to have changed in 1.16.2, as I now only get taiga villages.
This is a major issue for datapack makers as they are using the Village and Bastion Remnants types to generate their jigsaw structures like castles or volcanos and stuff. However, due to this bug, these datapack makers cannot add 2 of their completely different structures to the same biome because they both uses the village type structure as the base of their configured structure.
While it may be a far long while before Mojang allows us to make completely custom structures by json, fixing this bug would greatly help as a workaround to allow datapack makers to generate many kinds of castles in a single biome instead of only one. (Although they could abuse multiple starting pools to bypass this limitation but then they lose the ability to control spacing for each structure)
Can confirm in 1.17-pre5 using this datapack: Testing.zip
Can confirm in 1.17.
Fixed in 1.18.2-pre1