Releases: TelepathicGrunt/RepurposedStructures
Repurposed Structures - Config Datapack
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_set
and 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\biome
folder. Thehas_structure
folder 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": false
to"replace": true
and then remove the biome you don't want from the list. - If you edit the tag files in
collections
folder instead, the added or removed biomes will be applied to all the tags in thehas_structure
folder that references thatcollections
folder'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 you datapack is good to go, put 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.
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_set
and 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_set
and go to the json file that is for the structure. Then edit thespacing
andseparation
values to change how spread out the spawn attempts are. -
Spacing
is the average chunks apart the spawn attempts are. This must always be bigger thanseparation
. -
Separation
is 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 thefrequency
line 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_feature
and go to the json file that is for the dungeon or well. Then set therepurposed_structures:unlimited_count
line 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_feature
and go to the json file that is for the dungeon or well. Then edit therepurposed_structures:unlimited_count
line orminecraft:rarity_filter
line. -
repurposed_structures:unlimited_count
states 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_filter
states 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\biome
folder. Thehas_structure
folder holds the biome tags for individual structures and features and thecollections
folder contains groups of biomes that multiplehas_structure
tags 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
, andc
biome 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 thecollections
folder 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_forests
will 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": false
to"replace": true
and then remove the entry you don't want from the list. -
If you edit the tag files in
collections
folder instead, the added or removed biomes will be applied to all the tags in thehas_structure
folder that references thatcollections
folder's tag you just edited.
**Example of editing `data\repurposed_structures\tags\worldgen\biome\collecti...
Repurposed Structures - Disabled Advancement Datapack
Add this datapack (the .zip file) to the world's datapack folder to make advancements not show up at all. No popups. No advancement screen.
Repurposed Structures - Vanilla Loot Tables
A datapack that changes all RS structure's loottables to use the same loottable as the vanilla structures that they are based upon. For example, Nether Pyramids now uses vanilla Desert Temple loottable. This can be helpful if you do not want RS structures to have customized loot tables.
Repurposed Structures - Pieces World
A flat world of all RS pieces for latest Repurposed Structures mod. 1.16.5 is for the Forge RS and 1.17.1 is for the Fabric RS mod. The 1.18+ worlds are for all modloaders. Make sure you have Repurposed Structures on when exploring as my mod will make Structure Blocks allow longer filenames.
Note: Only my structures that uses nbt pieces will show up in this world below. I do want to convert all my code-based structures to using nbt eventually so you can be able to edit those. For now, most structures are indeed using nbt files and can be overridden by a datapack!
Also, bonus video on how Structure Blocks work: https://www.youtube.com/watch?v=umhuRXinD3o
If you are looking to add new buildings to my villages and other structures, you'll want to check out this video! Repurposed Structures added a pool_additions feature for datapacks to merge pool files together that is used for jigsaw structure generation. The video is an 18 minute tutorial and should help walk you through creating a building, saving it, and adding it to RS's structures with a datapack! https://youtu.be/kzRQrQqlYjw (Note, video is for 1.18.2 - 1.20.6. From 1.21 onward, the file can be under any namespace or file name. The pool addition file itself will have a "target_pool" field for the pool to merge into)