Let’s add custom structures to Minecraft all right we finished this back in Minecraft again indeed because today we are going to add custom structures to Minecraft now I have already built this beautiful account Mouse as I will call it now you can see inside of it you know We just have some of our custom wood basically here or the red maple stuff as well as a chest in the middle that’s just empty and then also you know a soul Lantern as well as a lot of doors now let’s just close those doors and how do We get this structure that we’ve built into well first of all a form that the game understands and then secondly how do we then get to spawn it well for the first part we need to give ourselves the structure block right here and we need to place it at the two corners basically So we’re going to place it at this corner first and this is going to be the structure name tutorial mod colon count underscore house and then we’ll just collect it press Ctrl a to select it or Ctrl C to copy it and we’ll change this To save mode mode done and then we’ll go to the opposite corner and we’ll put this right here there you go and then this is going to be Corner mode done and if we now go back to this guy we should if we hit detect it should there we go So it detects the entirety of the structure absolutely perfect what we can then do is we can hit save and you can see it is now saved as tutorial mode column house and we can proceed into IntelliJ now inside of IntelliJ we want to go to the Run folder inside of the Saves folder and then whatever your world was where you had this so this was the structures world in the generated folder you should have an NBT file so what you can do is you’re going to basically select the structures folder over here press Ctrl C to copy it and Then go all the way to resources data tutorial mode and paste it in right here there we go now our structure as an NBT has been added and we could now spawn it via a command or via the structure block now the great thing is that the entire Structure can be added with Json files only so we only need to add a couple of Js Json files and then our structure will spawn in the world so the first thing that we’re going to do is we’re going to add another tag over here and that’s going to be under data tutorial Mode tags and then inside of the tags folder we want a new directory called A World gen inside of that directory we want another directory called a biome and instead of there we want a last directory which is called has underscore structure making sure that this is Written correctly as well there you go and then we can basically start copying over the Json files before I copy of it the Json files I want to give the biggest shout out to telepathic run structure tutorial mod repository over here because this is a an incredible resource for basically everything that Has to do with structures at all so if you want any more in-depth things like jigsaw structures or processor lists things like that just go to this repository I will link in the description below it is the best resource that is out there right so then Let’s copy over the Json files now all of those will of course be available to you in the description below it are positive or an individual just as well but you can see this is just a tag over here that basically says okay these biomes in these biomes our account Mouse Can spawn that is all that there is to it so nothing too crazy and now I want you to pay close attention because we’re going to need a new folder inside of the tutorial mod folder however it is it’s very easy for us to make a mistake here So resources data tutorial mode or whatever your mod ID is right click new directory called World gen now what you will find is that you have two World gen folders that are very very close together one of them is in the tags folder the other one is a neat tutorial Mod folder these are different folders please pay triple eight eight times attention to this because it is very very easy to put something into the wrong folder here so the best thing to do is close the tags folder and then you can see tags and then the world gen is At the same level as tax inside of there we want a few things namely three folders the first one is the structure folder the second one is the structure underscore set folder and the last one is going to be the template underscore pool folder so those three folders named exactly like this very Important and then let’s start adding the Json files of course the Json house for the structure folder let’s take a look at this now I’ve added the comments over here those are all by telepathic grunt though those are basically available in telepathic runs repository and I’ve just added them here as well Because they add an incredible amount of information to each different field that you can basically add here I cannot recommend this enough to basically take a look at this now if you take a look at this one the template pool this is the thing we’re going to add in just a Moment inside of this folder here with the size over here is well you can see how many pieces away from the central structure this is going to spawn this is only interesting to us if we use jigsaw blocks which we’ll take a look at in the next tutorial tutorial Max system from Center well you can see how far away can it Spawn from the center of the spawn maximum distance away from Center can the pieces spawn cannot be greater than 128 all right and then you have the biome tag which is the thing that we’ve added before you can see this is under a Hair structure Scout Mouse and it looks for well tutorial mod that it looks for a tag so it looks in the tags folder World gen biome has structure out Mouse Json and that is exactly what is being basically referenced right here surface structures I’m pretty sure that this Should this step should always be the same I don’t think that there should be anything else here uh maybe underground structures that the only other thing but we’re not going to do underground structures in this tutorial then we have at what y level is this going to spawn Well I’m actually going to put in zero here because I do think that -1 is not going to yield the result that I want but we’ll we’ll see we’ll see and then these are just basic normal things that you should always have and then here you can also add some spawn overrides so Making sure that you add certain features over here inside of of the structure for example then let’s take a look at the structure set also kautumn house Json and you can see this is a little bit simpler basically we’re just referencing the structure Json file right here and then we’re giving it a Weight so if we had multiple Json files we could reference all of them give them different weights and then depending on the weights you know depending on the likelihood one or basically either of them would spawn randomly the placement here is extremely important so the salt Has to be a high unique number but it can be too high so it can’t be higher than the integer limit very important and also it has to be unique otherwise your structures will overlap the average distance apart and the minimum distance apart should be fairly self-explanatory In the end I really recommend to ramp those numbers up if you have an actual mod with structures in it because 20 and 6 is way too little like it’s it is definitely not enough but that is going to be okay here the only other kind of placement is the ring based placement Which we’re not going to take a look at for the most part random spread pretty much covers everything that you’re going to need for the time being and then in the template a pool folder we’re going to make a new folder called Calvin underscore house and inside of there we Want the start underscore pool Json file and this is going to be very interesting indeed but this just references itself basically so Captain house is the folder and start pool Json is the name if there’s something wrong and it fails to generate then we’re just going to make It empty so nothing is going to generate what is this the location here is tutorial mode so it’s going to look in the data folder tutorial mode under the structures folder and then looking for a couple house NBT and this is what it will spawn the processor Json list as I Said take a look at telepathic grunts tutorial repo in order to learn more about this is very interesting as well and then these two things I pretty much just keep them now we could for example do something like terrain matching just to see like what would happen uh you Know you can see best for roads is rigid and then if the house you know would deform things then you can also do terrain matching I highly recommend it just playing around with us as well as it definitely does make a lot of sense as you can see actually these are all of The Json files that we need so the four Json files and one NBT file and our custom structure will be added to new worlds so let’s go into the game make a new world and see if our structure spawns all right so we found ourselves in Minecraft and let’s just fly around And see there we go we already got the first Captain house spawning in the wild and as you can see there we go so actually this is very interesting as you can see it basically adapted to the terrain so this is basically what happens if it adapts to the terrain it Does have a quite a cool like idea now um might not be the best way for this particular structure however it does look kind of cool that it sort of adapts to the terrain so in this case apparently it doesn’t adapt the terrain to itself it adapts itself to the Terrain which is very interesting what is it actually called oh it’s called terrain matching I believe there is also another projection over here that’s called terrain adaptation or terrain adapting something like that where it adapts the terrain in to itself instead of the other way around however I have Actually not seen this before so that is kind of hilarious to be honest with you but you will find if I’m just going to fly away in a little bit I should be able to find another one of those structures fairly quickly again because as I said the spacing and the distance Apart is actually not that crazy so we should be able to find another one let’s see if we just get unlucky incredibly unlucky over here and then we have another one so that actually took way longer than I expected but fair enough oh that’s a geode okay fair enough Um so there we go there’s another one and it has also adapted to the terrain but pretty pretty cool actually like I I kind of like the effect I um you know I’m not sure if I like 100 love it but it’s pretty cool but that is pretty much How you can add a custom structure to Minecraft for the sake of argument I’m gonna put it back to rigid over here I think that that’s a little bit better anyway thank you for watching so yeah Video Information
This video, titled ‘Minecraft 1.19.2 Forge Modding Tutorial | CUSTOM STRUCTURES | #36’, was uploaded by Modding by Kaupenjoe on 2022-10-11 13:59:51. It has garnered 8233 views and 160 likes. The duration of the video is 00:09:53 or 593 seconds.
In this Minecraft Modding Tutorial, we are making a custom structure in Forge in Minecraft 1.19.2
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19/tree/36-structure Gist: https://url.kaupenjoe.net/yt445/gist
== 25% OFF FOR GAMING SERVERS == ▶️ https://www.bisecthosting.com/Kaupenjoe
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ NEW Forge Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseForge120X ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 * ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon *
== 1 MONTH SKILLSHARE FOR FREE == ▶️ https://www.skillshare.com/r/user/kaupenjoe *
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== SOCIALS == Discord: https://discord.com/invite/yqxykanpWf Personal Twitter: https://twitter.com/Kaupenjoe
Instagram: https://url.kaupenjoe.net/tutorials/instagram Facebook: https://url.kaupenjoe.net/tutorials/facebook Twitter: https://url.kaupenjoe.net/tutorials/twitter TikTok: https://url.kaupenjoe.net/tutorials/tiktok Written Tutorials: https://url.kaupenjoe.net/tutorials/blog
== LICENSE == Source Code is distributed under the MIT License. Additional Licenses for other assets can be seen below or in the accompanying CREDITS.txt on download.
== ADDITIONAL CREDITS == Outro Musik by Kevin MacLeod: “That’s a Wrap” Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0
== AFFILIATE DISCLAIMER == * Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!
== HASHTAGS == #Minecraft #MinecraftModding #MinecraftTutorial #Kaupenjoe