Click the Repurposed_Structures-Config_Datapack_xxxxxx.zip file at bottom of this section to download the config datapack. (It is for all modloaders)
Ever since 1.18.2, Minecraft now has a json structure system! Repurposed Structures was updated to take advantage of that new system so to configure this mod, you would use this datapack which you can edit to do exactly what you want. This datapack also includes Language files and Loot Tables that you can edit!
How to edit 1.18.2 Config Datapack:
(For turning off dungeons or wells, those are still in the config file in the config folder above the mods folder. They will remain there until Minecraft makes feature json files add themselves to biomes like structures currently do now)
Here is a video on how to edit and use the config datapack if you prefer watching: https://www.youtube.com/watch?v=46zitqwwlXA
- To turn off a structure, go to
data\repurposed_structures\worldgen\structure_setand go to the json file that is for the structure. Then remove the structure you don't want from the"structures": [ ... ]list in that file. That will prevent the structure from spawning. Doing"structures": [],will make no structure spawn from that structure set file as they are all removed now.
- To add or remove the structure from any biome you want, go to
data\repurposed_structures\tags\worldgen\biomefolder. Thehas_structurefolder holds the biome tags for individual structures. Then edit the"values": [ ... ]list in these biome tags json to change what a single structure will spawn in. - If you want the tag file to use biome entries from a different tag file, add # to the front of the entry.
- If you are removing the structure from a biome, set
"replace": falseto"replace": trueand then remove the biome you don't want from the list. - If you edit the tag files in
collectionsfolder instead, the added or removed biomes will be applied to all the tags in thehas_structurefolder that references thatcollectionsfolder's tag you just edited.
Be sure to delete all folders and files you haven't edited just to tidy it up. This will also help to not mess up other RS configuration datapacks that may be in the modpack you are using. When you datapack is good to go, put it into your world's datapack folder. If making a new world, click the datapack button and drag and drop the datapack folder into it.
If you get confused or stuck, you can contact me for help on discord at https://discord.gg/K8qRev3yKZ within the #telepathicgrunt-mods channel. I am TelepathicGrunt on Discord. You can also reach me in the GitHub issues section or in CurseForge comment section. And again, be sure to check out my video as it may help clarify any confusion you may have: https://www.youtube.com/watch?v=46zitqwwlXA
How to edit 1.19.x and 1.20.x Config Datapacks:
Click a section below for how to edit 1.19.x or 1.20.x config datapacks to what you want. Just be sure to delete all folders and files you haven't edited just to tidy things up. This will also help to not mess up other RS configuration datapacks that may be in the modpack you are using. When your datapack is good to go, there’s two ways to apply it.
-
The vanilla way of putting it into your world's datapack folder (can be found in saves/worldname/datapack). If making a new world, click the datapack button and drag and drop the datapack folder into it.
-
Use a mod like Global Packs where you can stick the datapack into the regular resourcepack folder. And the mod will read and apply the datapack to all worlds you load into!
If you get confused or stuck, you can contact me for help on discord at https://discord.gg/K8qRev3yKZ within the #telepathicgrunt-mods channel. I am TelepathicGrunt on Discord. You can also reach me in the GitHub issues section or in CurseForge comment section.
Disabling Structures
- To turn off a structure, go to
data\repurposed_structures\worldgen\structure_setand go to the json file that is for the structure. In that file, remove the structure you don't want from the"structures": [ ... ]list. That will prevent the structure from spawning. Doing"structures": [],will make no structure spawn from that structure set file as they are all removed now.
(Make sure a comma is in between every entry in the list. There should be no comma after the last element in the list. Use a JSON validator site to check if you are unsure)
Changing Structure Spawnrates
-
To change a structure's spawnrate, go to
data\repurposed_structures\worldgen\structure_setand go to the json file that is for the structure. Then edit thespacingandseparationvalues to change how spread out the spawn attempts are. -
Spacingis the average chunks apart the spawn attempts are. This must always be bigger thanseparation. -
Separationis the minimum chunks apart that each spawn attempt can be. This must always be lower thanspacing. -
Increasing these numbers will make a structure more rare. A lower value makes structures much more common.
-
Mineshafts do not use
spacing/separation. Instead, edit thefrequencyline in the mineshaft structure set files. A frequency of 1 means every chunk will spawn a mineshaft while a frequency of 0.5 means chunks have a 50% chance of spawning a mineshaft. That means higher frequency makes the mineshafts more common. Lower means they become more rare.
Example of making Overworld Cities spawn far more frequently:
Disabling Features (Dungeons and Wells)
- To turn off a dungeon or well, go to
data\repurposed_structures\worldgen\placed_featureand go to the json file that is for the dungeon or well. Then set therepurposed_structures:unlimited_countline to 0. With a zero count, the dungeon or well will not spawn at all.
Example of making Deep Dungeons no longer spawn:
Changing Feature Spawnrates (Dungeons and Wells)
-
To change the spawnrate of a dungeon or well, go to
data\repurposed_structures\worldgen\placed_featureand go to the json file that is for the dungeon or well. Then edit therepurposed_structures:unlimited_countline orminecraft:rarity_filterline. -
repurposed_structures:unlimited_countstates how many attempts to try and spawn a dungeon in a chunk. For wells, this line is how many wells to spawn in a chunk. Higher numbers means more of this feature can spawn in a chunk. -
minecraft:rarity_filterstates what the chances are that a chunk will try and spawn the feature. So for wells, if this is set at 100, it means a chunk has 1/100 chance of spawning a well. If it is at 500, the chunk now has 1/500 chance of spawning a well. Higher number means lower chance of spawning.
Example of making Badlands Dungeons spawn 4 times as much and Forest Wells spawn more frequently:
Change what biome Structures/Features spawn in
-
To add or remove the structure/feature from any biome you want, go to
data\repurposed_structures\tags\worldgen\biomefolder. Thehas_structurefolder holds the biome tags for individual structures and features and thecollectionsfolder contains groups of biomes that multiplehas_structuretags will read from. Then edit the"values": [ ... ]list in these biome tags json to change what a single structure or feature will spawn in. -
Note, many biome mods and biome datapacks have properly tagged their biomes into the
minecraft,forge, andcbiome tags. Repurposed Structures reads from these special biome tags to know what biomes to spawn the structures in. Try the mod or datapack first with RS mod on and use /locate command. It is possible the structures are already spawning in those mod's or datapack's biomes just fine and you do not need to edit any biome tag. If they do not spawn, then you can edit the biome tags in thecollectionsfolder to have the missing biomes so RS's structures can spawn in them. -
If you want the tag file to use biome entries from a different tag file, add # to the front of the entry itself. For example,
#repurposed_structures:collections/spooky_forestswill use the biome tag that is indata\repurposed_structures\tags\worldgen\biome\collections\spooky_forests.json. Vanilla's biome tags and other mod's biome tags can be used as well. -
If you are removing the structure from a biome or biome tag, set
"replace": falseto"replace": trueand then remove the entry you don't want from the list. -
If you edit the tag files in
collectionsfolder instead, the added or removed biomes will be applied to all the tags in thehas_structurefolder that references thatcollectionsfolder's tag you just edited.
Example of editing data\repurposed_structures\tags\worldgen\biome\collections\jungles.json so that another mod's Iced Rainforest will spawn Repurposed Structures's jungle structures:
Also, check out Global Packs mod which allows you to stick the datapack into the game’s resourcepack folder and then applies the datapack automatically to all worlds you make! You can always reach out to me on Discord for help with getting a datapack working




