mojira.dev
MC-241288

Support for custom structures has been removed

Ever since 21w37a, support for custom structures with worldgen has been removed. There was no mention of it in the changelog, and no official word on it being removed, that I know of, which leads me to believe this may be a bug. Editing an existing structure file (such as a village's template pool) does not do anything. Meaning that structures are currently hard coded into generation and cannot be modified in any way by either changing/editing the "template_pool", or the  "configured_structure_feature" files.

I have attached two biome json files below, comparing the difference. As you can see, in the 1.17.1 one biome, there is a space for structures to be listed, called the "starts" field, while in the 1.18 biome, you can see the structures list has been removed.

 

I have also attached two data packs. One is the 1.17.1 version with custom structures being able to use it, and the other one is the 1.18 version that is identical but there is no support for custom structures, making it pointless. 

 

 

 

Linked issues

Attachments

Comments 18

Please attach a data pack that can be used to reproduce this

Works as intended. Check slicedlime’s video for 21w37a. 

I think someone should add "starts" and "template pool", "template list", etc. labels to this, so it can be found more easily.

Question remains.... for worldgen biomes, where does one specify what structures should form in the biome if it is not under the now removed "starts"?

Structures are currently hardcode into generation, which means that custom dimensions can't have structures. There is currently no way to choose what structures generate in which biome. 

8 more comments

I can also confirm it's still an issue in the above posted version

I haven't dug too deep into it yet, but after some quick testing it looks like this has been fixed by the structure changes in 22w07a.

According to @unknown's video, they should be as custimizable now; but I have yet to verify this. From what I understand, spacing and salt can not be changed.

Slicedlime's video specifically states that the changes are still restricted to builtin structures, re:Dhranios's comment above.

Flashbulb

(Unassigned)

Confirmed

Normal

Structures

custom-structures, structure-starts, structures, template_pools, worldgen

21w42a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 4, 1.18 Pre-release 5, ..., 1.18.1, 22w03a, 22w05a, 22w06a, 22w07a

1.18.2 Pre-release 1

Retrieved