Minecraft Data Packs / Adventure

Randomly Generating Dungeons

  • check_circle Functions
  • check_circle Loot Tables
  • 10,169 views, 255 today
  • 2,783 downloads, 73 today
  • 47
  • 43
  • 16
1withspaghetti avatar 1withspaghetti
Level 28 : Expert Robot
5
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! : 06/20/2021 11:57:32 pmJun 20th

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
07/10/2021 3:13 pm
Level 1 : New Miner
T360
T360 avatar
if I add custom rooms, do they have to be a certain size?
1
06/29/2021 6:28 amhistory
Level 1 : New Miner
WolfBlade 39
WolfBlade 39 avatar
I found the structure block that summons the room but the block has the same loading name as others please help me find to how to get one room
1
06/20/2021 8:32 pm
Level 1 : New Miner
Shipool
Shipool avatar
Does this take a long time to generate? Or is it just broken? I'm using V1.2, and I run the /function rgd:actions/generate command, it just generates a diamond/iron block + with some armor stands and that's about it. I've AFK'd nearby waiting for something to happen with no luck.
1
06/20/2021 8:37 pmhistory
Level 28 : Expert Robot
1withspaghetti
1withspaghetti avatar
It should all happen in the same tick, I just released an update like 5 minutes ago that fixes some of the common bugs, try again with that version

Edit:

If the problem continues use the command /scoreboard objectives setdisplay sidebar rgd_data and tell me the value for rooms.
1
06/21/2021 8:08 am
Level 1 : New Miner
meeder
meeder avatar
Hey can I have your discord if U dont mind I wanna message you and send you screenshots on where im going wrong
1
06/20/2021 9:50 pm
Level 1 : New Miner
Shipool
Shipool avatar
Says 21, still same issue. I'm running Fabric 1.17 if that changes anything?
2
06/20/2021 10:39 pmhistory
Level 28 : Expert Robot
1withspaghetti
1withspaghetti avatar
Try vanilla and see if that works, otherwise idk what to tell you.

Edit:
I tested it on 1.17 vanilla and it doesn't work. I marked it compatible with 1.17 because it didn't involve the /replaceitem command or anything so I just assumed it was compatible with 1.17. Due to this I will attempt to fix it and for now I updated the marking to only be compatible with 1.16.

Edit #2:

I fixed all the bugs in 1.17 and now the main download button will get you that version. To get the 1.16 version, look under the download older versions spoiler
2
06/21/2021 4:43 pm
Level 1 : New Miner
Shipool
Shipool avatar
Works beautifully now. Thank you so much.
1
06/20/2021 1:55 am
Level 1 : New Miner
lzzdude
lzzdude avatar
uhh hi what is the command or the data packs

basically what is the commands for making it spawn naturally ???????????
1
06/29/2021 5:00 am
Level 1 : New Miner
WolfBlade 39
WolfBlade 39 avatar
I could really use the command or commands to help me with this please reply or put it in the chat
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome