Started by
Cool_Link_13
on
Topic category: Help with Minecraft modding (Java Edition)
I've been trying to add a few new blocks I made to a ancient city structure. I followed a guide exactly on how to do it but in a fresh world on a fresh city it did not even try to generate the structure I made. the structure file has the same ID as the vanilla one so I have no idea why it's not working. Anybody happen to know exactly how to do this?
up
How To:
Troubleshooting:
Ok Great thank you. I think the issue is the vanilla model exists in the files still so I neve replaced it correctly.
I searched through the workspace folder for my mod and I can't find that file. If I use the regular folder will that mess anything up?
you will have to manually create the files in your mod directory.
Here is the directory tree for Ancient Cities to give you a reference to what you should add to replace specific structures
Each /file contains specific .nbt structures, figure out which directory path the structure you are replacing uses then you know where to place your structure in your data/minecraft/structure folder.
If you are using 1 structure to replace numerous structures, you will have to rewrite the pool.json file for the target pool you are affectively changing. Pool.json files are found in the data/minecraft/worldgen/template_pool file
I recommend delving into a minecraft version folder to find these so you know exactly what you are looking for and replacing. You can find what you are replacing with the "/place template" minecraft command as well as what folder the structure is in.
IF that does not work, you will likely have to just rewrite the pool.json file to include your structure and not include the vanilla structures
rewriting the pool.json file doesn't seem to work so that might require actual coding.