Minecraft Data Packs / Simple

Custom Dungeon Generator

  • check_circle Structures
  • 9,562 views, 0 today
  • 765 downloads, 0 today
  • 26
  • 20
  • 9
Cart3r
Level 44 : Master Artist
68
This datapack was the result of me messing around with structure blocks and jigsaw blocks. I was looking into learning more about how they worked, so I attempted a stronghold-style dungeon generator. The dungeon generator has many different hallways, connections, and other rooms that it can pull from, creating a unique dungeon each time. Some may contain long winding hallways, or others may contain large rooms with treasure or monsters. You may end up with a massive structure, or a small structure.

How to use:
- Get yourself a jigsaw block with the command /give @p jigsaw
- For the first line of the jigsaw block where it asks for the pool, enter dungeon:rooms
- For the next two lines, enter dungeon:path or minecraft:walkway (dungeon:path tends to give better results from my testing)
- Crank the slider from 0 to 7, and turn "Keep Jigsaws" to OFF
- Press generate and give it a few seconds to spawn in the structure
- Repeat as many times as you want!
- Note: These structures don't spawn naturally, and you have to spawn them in yourself. They are more for fun and were created as a proof of concept, rather than something you'd actually want to find spawning in your world.

Known Issues:
- Pack says it isn't compatible with versions below snapshots, but it is. I just put the pack format as 7 so I don't have to change anything once 1.17 releases.
- Pack doesn't have an icon yet. Will be fixed if I ever do an update with more rooms.
- Some rooms overlap in weird ways, although this is usually uncommon due to the random nature of the generation
- Some of the loot tables for the rooms with chests don't always work correctly, sometimes causing duplicate loot if the same room is generated twice
- Occasionally you might generate a dungeon with only 1 or 2 rooms because it only decided to generate paths with dead ends, although this cannot be 100% fixed due to how the rooms are selected.

I may update this pack to include more rooms and fixes to the few issues stated above, but the pack is in a mostly final state as of posting.
CompatibilityMinecraft 1.13
toMinecraft 1.17
Tags

Create an account or sign in to comment.

Jeddell
10/02/2021 2:46 am
Level 3 : Apprentice Miner
Tried this on a a 1.17.1 local spigot server. Nothing happened. Cant say if this datapack works in a Spigot server or not. But for me...I did not work. Followed the instructions above. Nothing happened.
2
Cart3r
10/02/2021 4:08 pm
Level 44 : Master Artist
Interesting. I haven't tested it in a multiplayer environment, but it should work the same in both single or multiplayer. I don't have access to a spigot server to test with but I will test it in other multiplayer settings to see if I can reproduce the issue. It could also be something spigot does, but since I've never messed with spigot I don't know if it does anything that would cause datapacks like mine to break.
1
Roxanne59
01/25/2021 9:14 pm
Level 1 : New Miner
it not working for me i am 1.16.5
1
Cart3r
01/25/2021 10:01 pm
Level 44 : Master Artist
1.16.5 was an entirely server-related fix update, to the point where 1.16.4 clients work on 1.16.5, so compared to 1.16.4 almost every datapack, mod, world, resource pack, etc all work on 1.16.5. I'll test it to be absolutely sure, but it should work fine as long as you installed it correctly.
1
Cart3r
01/25/2021 10:04 pm
Level 44 : Master Artist
After testing in 1.16.5 with a new world and download from this page, I can confirm it works on 1.16.5
1
Furiousteddybear Gaming
12/28/2020 4:59 pm
He/Him • Level 14 : Journeyman Warrior Cowboy
For some reason it's not working in 1.16.4, am I doing something wrong or does it just not work in 1.16.4?
1
Cart3r
12/28/2020 6:33 pm
Level 44 : Master Artist
I made the pack in 1.16.4, but I made the pack version 7 so that it also works with snapshots for 1.17 since the datapack format was raised for the snapshots. I downloaded the pack from this page and loaded it up in a new world and it worked exactly as it should. If you added the pack after creating the world, check to make sure that the pack is enabled, as sometimes packs added after a world is created are disabled by default.
1
Bdd-
12/28/2020 2:23 am
Level 1 : New Miner
and with WorldEdit i can change the block, goood datapack ,diamond!
2
Cart3r
12/28/2020 12:19 pm
Level 44 : Master Artist
Thank you
1

Welcome