Minecraft Data Packs / Adventure

Randomly Generating Dungeons

  • check_circle Functions
  • check_circle Loot Tables
  • 26,809 views, 2 today
  • 6,175 downloads, 0 today
  • 72
  • 69
  • 30
1withspaghetti's Avatar 1withspaghetti
Level 38 : Artisan Robot
9
Download Older Versions



This datapack is made for other creators like you to turn into minigames, add monsters, quests, or whatever you want! (If you share an edited version please make sure that you credit me and link this page)


Commands to know
/function rgd:actions/generate - Generates a dungeon originating from the place the command was run. (Use execute at [​coords] run function rgd:actions/generate to build one at a certain spot)

/function rgd:actions/cleargen - Removes the dungeon that has just been built


How to add your own rooms

Download this world and change the rooms to your own, but make sure that it is within the bounding box of the structure block. Each layer is a variant meaning that each of the 4 layers will have 1 crossroad. When generating a crossroad, the code with choose a random one from the 4. When ready, start by opening each structure block and clicking the [​SAVE] button to the right.

Photo
Randomly Generating Dungeons Minecraft Data Pack



Next find the folder generated/rgd/structures in your world folder and move the 4 folders to the folder Randomly Generating Dungeons Datapack/data/rgd/structures Replace the old .nbt files with your news ones, reload, and you should be good to go!

Photo
Randomly Generating Dungeons Minecraft Data Pack
Sorry for bad quality I can't do anything about it but you can use [​CTRL] and [+] to zoom in.




(I highly suggest using WorldEdit to build your rooms)
CreditBuilding Help: NuggetMcHotdog, NoHacksJustCats, fastbanana, Hellononono
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

4 Update Logs

1.17 Support! : by 1withspaghetti 06/20/2021 11:57:32 pmJun 20th, 2021

The download button will now get you the 1.17 version of the datapack, to get the 1.16 version, look under the download older versions spoiler
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/01/2022 2:32 pm
Level 1 : New Miner
BackupCup
BackupCup's Avatar
is there a way to increase room size?
1
02/24/2022 3:38 pm
Level 1 : New Miner
ParagonTheParagon
ParagonTheParagon's Avatar
so how do u get the chests to generate with loot in a custom rooms?
1
09/09/2021 2:23 pm
Level 1 : New Miner
Joseph5w5
Joseph5w5's Avatar
Does the dungeons generate normally in the world or does it only work with the command?
1
09/01/2021 7:43 pm
Level 1 : New Miner
willyzen6
willyzen6's Avatar
perfect works for me on my server 1.17
1
08/23/2021 7:56 pm
Level 1 : New Miner
noonanaena830
noonanaena830's Avatar
Thanks for your nice datapack!
It's really fun to explore dungeon rooms.
But, is there any way to get out?
I've found a book that says 'I can't get out here' and 'THEY will found you' and sometimes I found hidden treasure chests by doing actions.
If there's any way to get out, I'll try to play and find out.
But if there's no way, plz tell me and I'll just use this for looking around.
1
08/23/2021 9:40 pm
Level 38 : Artisan Robot
1withspaghetti
1withspaghetti's Avatar
There is no official entrance of exit to the dungeons but you can add one if you want to edit the rooms
1
08/23/2021 11:38 pm
Level 1 : New Miner
noonanaena830
noonanaena830's Avatar
thank u
1
08/14/2021 11:22 pm
Level 1 : New Miner
BruhAura
BruhAura's Avatar
So if a man DID want to make them spawn naturally... how would I do that? I've made made my own datapack once but it just customtized naturally spawning chests with diamond blocks... so how would i make these Dungeons naturally spawn? like maybe make a plugin to randomly run the generate command when a chunk gets loaded???
2
08/23/2021 9:43 pm
Level 38 : Artisan Robot
1withspaghetti
1withspaghetti's Avatar
To be completely honest, I have no idea, you might be able to find some tutorials on youtube of look at some other datapacks.
1
08/08/2021 1:00 pm
Level 26 : Expert Miner
CoreyByte
CoreyByte's Avatar
Does this add them into a newly generated world?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome