MCPcopy Index your code
hub / github.com/TelepathicGrunt/RepurposedStructures

github.com/TelepathicGrunt/RepurposedStructures @4.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 4.0.0 ↗ · + Follow
722 symbols 1,980 edges 150 files 48 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MAVEN

For developers that want to add RS to their mod's workspace:

repositories {   maven {     url "https://nexus.resourcefulbees.com/repository/telepathicgrunt/"   } }

 

Don't forget to change \ with the actual latest version of this mod.

dependencies {   ...   implementation fg.deobf("com.telepathicgrunt:RepurposedStructures:\+1.19") }

________________

 

Picture that shows the title of this mod with a Stonebrick Fortress during sunset behind the text

CURRENTLY FOR 1.16.5 MC

Works serverside too so vanilla clients can connect!

CLICK HERE FOR FABRIC 1.16.5 MC PORT: https://modrinth.com/mod/repurposed-structures-fabric


WHAT IS REPURPOSED STRUCTURES?

Repurposed Structures is a mod about taking existing vanilla features and structures and creating new variants or modifications to them! Originally, most of the structures and features in this mod was actually made for my Ultra Amplified Dimension mod. but then I realized these features and structures would look great in the Overworld as well so I decided to take those structures and features and split them into their own mod and continue to add MORE biome variants of vanilla structures! And over time, some other people even help contribute more vanilla styled structures!

Currently, this mod has:

  • Jungle Fortresses which are Nether Fortresses using Stonebrick blocks and spawns in Jungles!
  • 10 Dungeons variants
  • 13 new Mineshaft types
  • 10 new biome variants of Villages
  • 15 new temples variants
  • 2 new biome variants of Igloos
  • 13 new Pillager Outposts
  • 4 new types of Shipwrecks
  • 7 new Mansion types
  • 5 new Witch Huts types
  • 3 new kinds of Ruins! (2 on land. 1 in Nether)
  • A Nether themed End City
  • A Nether Strongholds
  • An Underground Bastion in Overworld
  • 6 new Desert Well variations were made for other biomes

If you have trouble finding one of these structures, just start typing /locate repu into the chat and you should see my structures pop up! For example, typing /locate repurposed_structures:stronghold_nether will find the closest RS's Nether Stronghold to your location in the Nether dimension. :) All structures can be found easily from anywhere!

Frequently Asked Questions:

Q: Does this mod work with YUNG's Better Strongholds mod?

A: Yes indeed it will on latest version of Repurposed Structures. Do note, RS's Nether Stronghold will still spawn in Nether biomes and be unchanged.

Q: Does this mod work with YUNG's Better Mineshafts mod?

A: Yep! This mod works with YUNG's Better Mineshafts lol. I added code to make our mods compatible. Both of our mineshafts should spawn in the world.

Q: Does this mod conflict with ___ mod?

A: Highly unlikely. My mod adds structures to biomes directly so any conflict would be extremely rare. Best way to know is to just try my mod with the other mod. If you find they do conflict somehow, PLEASE let me know so I can investigate and release a fix! :)

Q: The advancements are annoying! I want to turn them off!

A: There are datapacks to turn off the advancements or hide them. Scroll down to the "PRE-MADE DATAPACKS" section farther down and open the spoiler to get the disable/hidden advancements datapacks!

Q: How can I change the language that this mod uses?

A: You can use a Resourcepack to add new languages and help contribute! Click here for more info!

Q: Can I use this mod in a modpack?

A: Yep! You can use this mod in a modpack :)

Q: Can I modify the source code of this mod to make changes?

A: You can but just make sure you respect my license which is LGPL. That means, if you plan on distributing a modified Repurposed Structures jar, you should open source it by making the modified source code visible and licensed under an open source license. But truthfully, if you want to make a change, ask me first or make a PR into my mod as I might actually add it to the base mod itself!

Extra Details about everything in this mod!

Note: all chest loot info can be found here in the loot table files for the structure! : https://github.com/TelepathicGrunt/RepurposedStructures-Fabric/tree/1.16/src/main/resources/data/repurposed_structures/loot_tables/chests

Village Variants

Note: Some village houses will have custom loot to match their biome better but nothing too crazy for balance reasons. The Nether based villages are full of fully armored Piglins and have fully unique chest loot.

Variants:

-Badlands Village

-Birch Village

-Dark Forest Village

-Jungle Village

-Swamp Village

-Mountains Village

-Giant Taiga Village

-Oak Village

-Crimson Village

-Warped Village

Dungeons

Badlands Dungeons spawner's mob rates

48% : Husk

25% : Cave Spider

17% : Skeleton

8% : Spider

2% : Illusioner

Dark Forest Dungeons spawner's mob rates

43% : Zombie

20% : Spider

20% : Skeleton

15% : Vex

2% : Illusioner

1% : Creeper

Desert Dungeons spawner's mob rates

73% : Husk

13% : Spider

12% : Skeleton

1% : Llama

1% : Illusioner

End Dungeons spawner's mob rates

86% : Endermite

12% : Enderman

2% : Phantom

Spawns Shulker Box instead of Chests to hold the loot but spawns less frequently than Chests.

Icy Dungeons spawner's mob rates

75% : Stray

25% : Cave Spider

Jungle Dungeons spawner's mob rates

37% : Zombie

25% : Parrot

18% : Spider

18% : Skeleton

1% : Chicken

1% : Creeper

Mushroom Dungeons spawner's mob rates

if above Y = 64

96% : Rabbit

4% : Mooshroom

if below Y = 64

96% : Bat

4% : Mooshroom

Nether Dungeons spawner's mob rates

if above Y = 30

44% : Zombified Piglin

20% : Strider

26% : Magma Cube

10% : Blaze

if below Y = 30

44% : Zombified Piglin

20% : Strider

25% : Magma Cube

10% : Blaze

1% : Wither Skeleton

Snow Dungeons spawner's mob rates

37% : Stray

25% : Cave Spider

24% : Zombie

12% : Spider

2% : Snow Golem

Swamp Dungeons spawner's mob rates

24% : Zombie

24% : Drowned

16% : Spider

16% : Skeleton

9% : Vex

1% : Slime

Ocean Dungeons spawner's mob and loot rates

Chest loot

45% : Normal Dungeon loot

33% : Shipwreck Supplies loot

13% : Small Ruins loot

8% : Big Ruins loot

1% : Buried Treasure loot

plus a few various other ocean-themed loot

Mob Spawner in Frozen Ocean biomes

96% : Drowned

3% : Squid

1% : Turtle

Mob Spawner in Cold Ocean biomes

96% : Drowned

3% : Salmon

1% : Turtle

Mob Spawner in neutral Ocean biomes

96% : Drowned

3% : Cod

1% : Turtle

Mob Spawner in Lukewarm Ocean biomes

96% : Drowned

3% : Pufferfish

1% : Turtle

Mob Spawner in Warm Ocean biomes

96% : Drowned

3% : Tropical Fish

1% : Turtle

Mineshafts

All other Mineshafts has Cave Spider Spawner unless otherwise specified. And chest loot is specifically tailored to every Mineshaft with some having very unique loot and others having loot that's barely different.

Variants:

-Birch Mineshafts

-Desert Mineshafts

-Jungle Mineshafts

-Savanna Mineshafts

-Stone Mineshafts

-Taiga Mineshafts

-Swamp Mineshafts

-Dark Forest Mineshafts

-Icy Mineshafts (has Stray Spawners)

-Ocean Mineshafts (has Drowned Spawners)

-Nether Mineshafts (has Blaze Spawners)

-Warped Mineshafts (has Blaze Spawners)

-Crimson Mineshafts (has Blaze Spawners)

-End Mineshafts (has Endermite Spawners) and will also naturally spawn Endermites over time)

Mansions

Chest loot is using a barely modified Woodland Mansion chest loot with most changes being the food. Mansion spawnrates are set to be very rare by default as to not clutter your world. This can be changed in configs.

Cartographers may sell maps to these mansions in their level 4 trades

Variants:

-Birch Mansion

-Taiga Mansion

-Jungle Mansion

-Oak Mansion

-Savanna Mansion

-Desert Mansion

-Snowy Mansion

Nether City (Nether themed End City without the ship)

Will spawn Blazes often and Wither Skeletons very rarely inside the city over time

Spawns several Wither skeletons upon first generation

Maps to Nether Cities can be found in Nether Ruins or very rarely, in chest in Cartographer buildings in Warped/Crimson Villages

Chest loot is highly Netherite based to reflect the danger of the city

Bastions

Underground Bastions

Spawns only Skeletons over time inside instead of other monsters

Skeletons at initial spawning may have swords, be slightly faster, and wearing stronger armor

Reduced the chances of Underground Bastions not having a stable, unit, or treasure room. Most of time, there will be a massive room underground for the bastion.

Ruins

Warm Land Ruins

May contain maps to Underground Bastions in ungenerated chunks

High amounts of Wheat surrounding the ruins

Hot Land Ruins

May contain maps to Underground Bastions in ungenerated chunks

Nether Ruins

May contain maps to Bastion Remnants or Nether Cities

Jungle Fortress

Can naturally spawn Wither Skeletons over time but it is extremely rare

May spawn Drowned upon first generation with some armor in the flooded hallways

Will have 2 Silverfish Mob Spawners as well as random blocks sometimes being infested already

End Ruined Portals

Chest Loot is heavily high-leveled gold based. May also contain maps or End City maps.

Outposts

All Overworld Outposts

All Overworld Repurposed Structures Outpost will spawn Pillagers over time. And chest loot is nearly identical to the normal Pillager Outpost loot but some changes has been done to make the loot fit the biome theme they are in.

Some of the "aged" version of the Outpost towers are more unique in their decay or aged looks. This is based on how Vanilla Outpost tower can be either normal or "overgrown" with Mossy Cobblestone.

Overworld Variants:

-Birch Outposts

-Desert Outposts

-Jungle Outposts

-Giant Tree Taiga Outposts

-Stone Mineshafts

-Badlands Mineshafts

-Taiga Outposts

-Oak Mineshafts

-Icy Mineshafts

-Snowy Outposts (can have trapped Snow Golems as well)

End Outpost

Can naturally spawn Phantoms over time

Spawns with Chorus Plants and some Shulkers mobs

Chests loot is heavily combat based with stuff that is effective against Phantoms

Nether Brick Outpost

Can naturally spawn Piglins over time

Chests loot is heavily combat based with gold gear

Warped Outpost

Can naturally spawn Piglins over time

Chests loot is heavily combat based with gold gear

Crimson Outpost

Can naturally spawn Piglins over time

Chests loot is heavily combat based with gold gear

Temples

Nether Wasteland Temple

Dispensers: 5 to 14 Arrows of Harming II

Has one hidden Zombified Piglin spawner

Nether Basalt Temple

Dispensers: 5 to 14 Arrows of Weakness I

Has one hidden Magma Cube spawner

Nether Crimson Temple

Dispensers: 5 to 14 Arrows of Harming II

Has one hidden Zoglin spawner

Nether Warped Temple

Dispensers: 5 to 14 Arrows of Harming II

Has one hidden Enderman spawner and 1 Strider spawner

Nether Soul Temple

Dispensers: A mix of Arrows of Slowness and Fire Charges

Has two hidden Skeleton spawners

Pyramids

Nether Pyramid

Has two hidden Zombified Piglin spawners

End Pyramid

Has great loot but also has hidden Endermite spawners. Also has custom banners!

Badlands Pyramid

Has two hidden Husk spawners

Icy Pyramid

Snowy Pyramid

Has two hidden Stray spawners

Flower Forest Pyramid

Has lots of bigger explosion radius Creepers

Ocean Pyramid

Has 4 Drowned with Tridents. They have a small chance of dropping Trident or their Turtle Helmet

Jungle Pyramid

Has a high amount of Silverfish infested blocks

Giant Tree Taiga Pyramid

Mushroom Pyramid

Has no traps and much greater quantity of loot!

Shipwrecks

End Shipwreck

You may find maps and if you are EXTREMELY lucky, maybe an Elytra in their chests! They can also have unique Firework Stars and rarely, Dr

Extension points exported contracts — how you extend this code

NamespaceResourceManagerAccessor (Interface)
(no doc)
src/main/java/com/telepathicgrunt/repurposedstructures/mixin/resources/NamespaceResourceManagerAccessor.java
LootContextAccessor (Interface)
(no doc)
src/main/java/com/telepathicgrunt/repurposedstructures/mixin/resources/LootContextAccessor.java
ReloadableResourceManagerImplAccessor (Interface)
(no doc)
src/main/java/com/telepathicgrunt/repurposedstructures/mixin/resources/ReloadableResourceManagerImplAccessor.java
DungeonFeatureAccessor (Interface)
(no doc)
src/main/java/com/telepathicgrunt/repurposedstructures/mixin/features/DungeonFeatureAccessor.java
StructureTemplateManagerAccessor (Interface)
(no doc)
src/main/java/com/telepathicgrunt/repurposedstructures/mixin/structures/StructureTemplateManagerAccessor.java

Core symbols most depended-on inside this repo

get
called by 229
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MansionPieces.java
set
called by 86
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MansionPieces.java
create
called by 85
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MonumentPieces.java
register
called by 83
src/main/java/com/telepathicgrunt/repurposedstructures/misc/structurepiececounter/NonFreezingMapRegistry.java
apply
called by 50
src/main/java/com/telepathicgrunt/repurposedstructures/misc/mobspawners/MobSpawnerManager.java
saveJigsawPiece
called by 50
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MansionPieces.java
isEmpty
called by 46
src/main/java/com/telepathicgrunt/repurposedstructures/misc/structurepiececounter/NonFreezingMapRegistry.java
method_15047
called by 45
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MansionPieces.java

Shape

Method 530
Class 160
Interface 15
Function 12
Enum 5

Languages

Java98%
Python2%

Modules by API surface

src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MansionPieces.java71 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MonumentPieces.java56 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/misc/structurepiececounter/NonFreezingMapRegistry.java37 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/utils/OpenSimplex2F.java27 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/utils/GeneralUtils.java17 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/placements/AdvancedRandomSpread.java13 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/GenericJigsawStructure.java12 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/misc/lootmanager/DetectRSLootTables.java11 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/world/structures/pieces/MirroringSingleJigsawPiece.java10 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/misc/structurepiececounter/StructurePieceCountsManager.java10 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/world/biomemodifiers/AdditionsTemperatureModifier.java9 symbols
src/main/java/com/telepathicgrunt/repurposedstructures/misc/pooladditions/PoolAdditionMerger.java9 symbols

For agents

$ claude mcp add RepurposedStructures \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact