So to those people who are new to my channel you’re probably not aware of my history in creating generated environments so I’m going to show you how that has progressed over the years and I want to show you my latest design for custom dungeons and this is what it Looks like from underneath but I have a bit of a problem is where every room is quite similar to one another there we go it’s generating something the rooms are different just A nice field of folders there as you can see there are multiple entrances to get inside there are three main floors and you can get between floors without having to exit the temple sometimes is place down the back egg and it will start generating a house for you and if You want this to be two stories which I’m going to do then you can place it wherever you like in the house and it will generate another story for you so let’s take a look at what this thing generated awesome I think that looks pretty cool now thanks to the addition Of structure blocks things have changed rooms can be far more randomized and soakin structure so what I’m going to teach you today is the simplest way of making a dungeon it’s not the best and it’s not the most random but it will come up with a bunch of random outcomes For you which is enough to keep the player engaged and you also get a lot of design control over what you’re doing and it’s less prone to bugs so what have I actually done here well I’ve got a dungeon here so I’m going to just load This and as you can see we get a slightly different dungeon with different rooms here plays out quite differently now if I want a completely different floorplan I can just add a two-on-two here and then you can see that this dungeon has a very different feel as you can see this one can Actually go upstairs which is another feature which is very easy to implement with this method here a command blocks here a very very lightweight I mean the method that I’m using for the tempest box is far more complicated but it is based on this principle and that’s what I’m trying to teach today so if we go over here you can see exactly what the dungeons are made up of so I’ve got our first dungeon here with the floor plan as you can see all the rooms are empty and I have an armor stand for every Place I want a room to be added now over here I have a slightly different floor plan which will create a different feel the rooms that can go inside are selected from these nine rooms right here that’s the basic principle so basically this armor stand will choose a Random room here this armor stand which is a random room and this understand we’ll choose a random room here so if you can’t remember how to use structure blocks then you can just give yourself a structure block like so and then what you can do is you can turn it to save mode Pick whatever position you want so let’s just say you want a really really tiny structure here you give your structure a name and so we can just click done here we can build whatever the heck we want inside here doesn’t matter we click Save and structure saved as name and if you Want to load it again then you just go into load mode change the relative position to whatever you want so let’s just call this name again include the entities whatever and then what you can do here is you can just place a redstone block on top and it will load that Structure in like so now you will also notice that this can take into account walls so if I go up to here and you can see how the rooms are divided and I load in a room one like this as you can see it’s actually maintained the walls here That’s because I’m using structure voids here even though it looks like there’s air blocks there are not so to get those just give yourself a structured void and this basically maintains any existing blocks in the area and this is why there’s air blocks in the side here so If the structure block appears here then it gets replaced by an air block you can see these invisible blocks when you’re on save mode you can turn those on and you can see that the red blocks are representing structure voids and the blue ones represent air blocks but we’re Going to turn that off because that actually causes quite a significant amount of lag so since I have entities representing the floor plan here we can actually use those entities to import the rooms here and basically the way this is done is I’ve got two repeating command blocks here and a bunch of Randomizing armorstands here I actually use scoreboards to randomize it that understands are easier to teach and we’re intuitive for beginners and the purpose of this tutorial so basically if there is a thing called dungeon with in 52 blocks so anything over there called dungeon then it will execute from a Random armorstand you actually have to specify the type otherwise er doesn’t work so a random elmast and named randomize and it’s basically going to activate the command block below it and then immediately set it back to redstone’s so let’s say it detects a dungeon here then what this command Block is going to say it’s going to say okay activate this and then this command block will say no deactivate it but it’s already activated so we go in here and the dungeon basically sets a structure block set to load mode and it’s going to Be cold room for then we go through all these empty command blocks and then it sets a redstone block on top of that dungeon I’m using C equals one for each of these so it always targets the nearest room and then finally it just kills it just like that so it’s a very Very simple system and hopefully we’ll be able to see that in action if I would just see it quick enough so you can yeah you can see what’s going on here it’s just picking the closest room randomizing the room picking the next closest room randomizing that the next Closest room and randomizing that I hope that makes sense and now I’m going to show you an example of this on a large scale and I’m going to talk about the differences in the tempest box things so yes this structure that I’m building actually is coming to the tempest box And we will see that soon okay so this is an example of a dungeon that I have made with the help of my tempest box contributors who have also built some of the structures here so as you can see it’s got the random room concept or the Floor plan is a lot more complicated let’s just go down in here everything joins up quite nicely ok so we got this room over here which is interesting now there are a few things that I haven’t mentioned is that I’ve actually split this into different kinds of room sizes So you can get 11 by 11 rooms 7 by 7 rooms 9 by 9 and 15 by 15 rooms and they can spawn only in those dedicated areas so I have a lot of design control over what kind of rooms I want to spawn how rare they can be those kinds of things And also the walls are being spawned in randomly to change the shape of the dungeon every single time so this dungeon even though it might have different rooms will also have a completely different shape for you to explore and then every time you go into these one of these dungeons it’s not Like you’ve explored one of these before it feels very different also it also helps that there are 80 different rooms that be chosen from so 80 different rooms means there are a ton of potential upper exploring especially if you mess around with the rarity of some of these rooms As well and as you can see it can support stairs and such and this all fits into a 64 by 64 by 32 structure which I kind of cheated in to load but hey that’s the point of command blocks is that you’re using cheats let’s go Through here and as you can see I’ve have forgotten to save structure 10v which I need to do sometime so yeah you can actually see there’s a lot of stuff going on here and not only that you can randomize the decorations in here as well but anyway I’m spoiling a lot of tempest Box stuff here so I’m just going to end the episode here thank you all to my patrons and my gold patrons data crusader and dark 7 thank you very much guys I will see you all in the next one take care Video Information
This video, titled ‘Easy Random Dungeons Method in Minecraft 1.11 & 1.12 – Command Block Tutorial’, was uploaded by Jragon // Learn How To Make Minecraft Commands on 2016-12-20 11:02:41. It has garnered 61174 views and 1453 likes. The duration of the video is 00:08:17 or 497 seconds.
Making Randomly Generated Dungeons using STRUCTURE BLOCKS =D
COMMANDS:
/execute @e[name=Dungeon,r=52] ~ ~ ~ /execute @r[type=armor_stand,name=Randomize] ~ ~ ~ /blockdata ~ ~-1 ~ {auto:1b}
/execute @e[name=Dungeon,r=52] ~ ~ ~ /execute @e[type=armor_stand,name=Randomize] ~ ~ ~ /blockdata ~ ~-1 ~ {auto:0b}
RANDOM OUTPUTS
/execute @e[name=Dungeon,r=52,c=1] ~ ~ ~ /setblock ~-2 ~ ~-2 structure_block 0 replace {mode:”LOAD”,name:”room4″}
/execute @e[name=Dungeon,c=1,r=54] ~ ~ ~ /setblock ~-2 ~1 ~-2 redstone_block
/kill @e[name=Dungeon,c=1,r=54]
Special Thanks To – Darc7 – Data_Crusader
And Thanks To – Patrick – Peter (NEW) – Mr DemonN – mblohr – Dust Bunny – crazypets321 – Corpe_ – DudePlayz_YT
Twitter: https://twitter.com/Jragon014 Reddit: https://reddit.com/u/Jragon014 Tutorials: http://tinyurl.com/jragonhelp Hiring: http://jragoncommands.weebly.com/hire-me.html
Profile Picture by redacted187 Skin by Skjold