Topic category: User side tutorials
Did you want to change a vanilla structure that you didn't like or create an add-on for another mod where you changed features? Well this forum will help you to succeed in your intent
Before starting
Be sure that the structure you want to replace has multiple files due to variation/size. In this case, simply add a folder named as the structure during the tutorial and put it into your .nbt files with the correct name.
Replacing structures
First, go to the workspace folder in src/main/resources/data and make a new folder called Minecraft or the mod_id. In this folder create another folder called structures and put into it your .nbt file named as the correct name of the original structure file. Now restart Minecraft and enjoy your refreshed structures!
Notes
- Replacing other people’s mod structure it’s funny but always remember to ask permission from the author before posting your mod.
- If two different mods change the same structure it could be some conflict.
Very Helpful Info! I wanted to make a hidden chest under a bed in a village!
how do i find the original names for the structures? (I would like to find the structure for the trees)
supermj767 if you want to replace the structure for a tree that generates in the world you cant but i think you can with the trees that generate in villages or other structures that have trees in them
Trees are features not structures so you cant replace them with this method
Ok thank you.
Is it possible changing templates?
also i think i screwed it up
wait never mind i fixed it
How would i change a nether fortress as i cannot find its nbt file
The nether fortress is composed of multiple "structures," all connected by jigsaw blocks. So, it is not one structure, but instead has a bunch of parts of the structure pulled from a template pool, and each one has a unique file name. Same goes for the mineshaft, as well as end cities, strongholds, and pretty much any other randomized structure where it is not always generated the same. I believe even igloos use jigsaw blocks to determine whether or not they have a basement.