You can replace the default loot tables by adding the files in
world/data/loot_tables/minecraft/
but you can't replace the structures by adding the files in
world/structures/
world/structures/minecraft/
world/data/structures/
world/data/structures/minecraft/
Steps to reproduce:
Download the base_floor.nbt attached.
Put the file in
world/structures/endcity/ world/structures/minecraft/endcity/ world/data/structures/endcity/ world/data/structures/minecraft/endcity/
Open the game now.
Test by loading the structure using a structure block.
See a bunch of pink wool. 🙂
Search for a natural end city that has not been generated before.
See that the base floor is still the normal structure.
Note: the attached file is even the same dimensions as the default file.
Attachments
Comments 5
@unknown If you put it in the exact same folder with the exact name, it's safe to assume you want to overwrite it, the same happens with the loot tables, same name and folder path results in it getting used instead.
Yea, but I mean that you may overwrite the structure-file by a mistake, when you want to save a structure and the file it is placed in folder where your saved structures are stored. If you placed it in the data-folder, this won't happen, and it also fits together with the loot tables.
If you name it exactly the same, then you most likely did that on purpose, same with loot tables, so changing that makes it inconsistent.
It may be better to put them in the data-folder (world/data/structures/) like the loot tables, so that you can't override them by a mistake.