Let’s add custom structures to Minecraft I can tell you once more and in this tutorial we’re going to be adding custom structures to a Minecraft now this is going to be Json only so we won’t need to write any code for our custom structures and it’s all going to be done Via data Json files now the biggest shout out of course goes out to the structure tutorial mod here from telepathic grunt this is by far the best resource if you want to Deep dive into structures then I highly recommend checking out I will link this in the Description below and you can see we have the forged jigsaw right here we also have Fabric and quill jigsaws as well I highly recommend checking out the repository over here if you need anything else but regardless of that we’re going to jump back in over here so I will be capping over all of the Json files those will also be available and they will also include all of the comments made from telepathic runs so that you have I mean basic explanations of every single field inside of those Json files and I will also go through And explain what everything does now the first thing we’re actually going to do is we’re going to jump into Minecraft and build ourselves the custom structure let’s go and see all right so we find ourselves in Minecraft over here and I have built this cow Mouse absolutely Amazing creation of mine of course uh it’s not you know something insanely great but it is definitely a custom structure you can say that because it includes the Dogwood planks over here Dogwood logs as well and you know a few Crimson doors as well as some nice Tainted or gray stained glass over here so it’s pretty cool we also have a an empty chest in the middle because why not that’s totally fine and overall that is pretty much the structure I want to save now how you can save a structure actually fairly straightforward you want To just give yourself the following thing you want to give yourself the structure block right here and when you have that you’re just going to place this on the corners now you want to place this on the outside of the corners like this basically and then we’re gonna Basically go to Corner mode so at the bottom left over here we’re gonna do corner mode tutorial mod colon help and underscore house because that’s what I called it and we can mark this or select it with Ctrl a control X control V so basically that I’ve copied the name over Here we’re going to say done and I’m going to go to the other Corner over here I’m going to do the same thing there we go I’m going to put this in under save mode this time hit detect and then it should detect the entire structure here so basically as long as They have the same name and are on opposite Corners here they should detect the entire structure I’m okay with this I like this and I’m going to say save this and now the structure has been saved as tutorial mode colon kelp underscore house now that is actually All that we need to do to save the structure we now have an NBT file I’m going to show you where it is and where you need to put it and then we can also create our Json files afterwards now the NBT file is found on the Run folder over Here then under saves and then whatever basically where you saved the the world so this is gonna so my world was called structures generated and then inside of here we have the cow Mouse NBT so we’re just going to copy this what we’re actually going to do is we’re going to Copy these structures folder over here so just Ctrl C to copy and and then paste it into the data tutorial mod folder there we go now we have the NBT file right here and we can proceed to add the Json files now when it comes to The Json files there’s not that many of them however they are quite this it’s a very condensed let’s say and the first thing we will do in the data tutorial mode folder right click new directory and this is called Tags now this is extremely important please pay attention To this we’re going to then make a new directory called World gen World gen there you go inside of that directory another directory called biome and lastly instead of that directory we’re also going to add another directory called has underscore structure there you go and then I will be copying over The Json file this is called com underscore hausa Json and you see it is just a tag with a bunch of different values in this case biomes where this particular structure can spawn you can add more biomes or more biome tags or whatever you want you can remove them Whatever you so choose to do and now this is extremely important the second folder we are creating is once again data folder tutorial mode right click new directory called World gen now what you will find is that you’re going to have two ish World gen folders right Here you can see one of them is inside of the tags folder and one of them is in the tutorial mod folder if I were to close this you can see they are very very close together however they are two different folders I want you to please Pay attention to this because it’s very very easy to confuse one with the other one of them is inside of your tags folder the other one as you can see is inside of your tutorial mod folder inside of that newly created one we want four different directories actually three different directories the first One is structure and then the second one is going to be the structure underscore set and then the last one is going to be the M plate underscore pool there we go we’re going to start with the structure one and that is going to be once again a calm underscorehouse.json and this is The first well the first Json file I can see it points to a start pool this is a Json font we’re going to add in the template pool folder in just a moment we also have a size over here this is basically needed if you have multiple jigsaw structures right or multiple Jigsaw pieces then what’s going to happen is that if you increase the size then this is basically the branching length so if you have you know one jigsaw piece spawning from another and another and another and another then you need to increase this size for our purposes two or even one would be Totally sufficient you can see this is the maximum distance from the center that this can spawn I also have the biome tag so this is going to be the tag that we’ve just added right here that it references in this case where is this being added this should always be Surface structure is the absolute height basically how much it is sunk into the ground let’s try zero here instead of minus one you have to sometimes have to play around with this a little bit to well basically to see how it works best although I actually think that -1 is Correct in our case so let’s keep it at -1 and then we’re just going to keep this as follows you can also add some spawn overrides basically making it so that you you know certain mobs can spawn in this structure the next thing is the structure set let’s add this one as well And this is the actual thing this is actually very important over here so here you make a list of structures basically a way to list in this case we only have the common house and it has weight one you could in theory add multiple structures over here and then One of those structures is being spawned at that position basically so you could in theory add multiple structures now this one over here of course refers back to the structure right here absolutely no worries now when it comes to the placement here you know the salt should Be big and unique do pay attention though that this is not bigger than like 2.4 billion because otherwise then you will hit the integer limit and that’s going to be a bad time because then it’s not going to work the spacing and separation should be fairly surface planetary you can literally read the Comments this is the average distance apart in chunks and this is the minimum distance apart and chunks self-explanatory pretty much now when it comes to both of those numbers they are pretty low I definitely recommend when you actually add a structure into your own mod make those bigger like highly Recommend it and then random strip I would honestly just keep it like this don’t get too bogged down on the ring based one with the strongholds and that is going to be fine for most applications for the time being and then in the template pool we actually want another directory called cowpen Underscore house and then you saw that they are a swordpool Json file and this once again you can see first of all it references itself there’s just this this is just the same name right Calvin house is the folder swordpool is the Json file if for whatever reason something fails We’re just going to leave this empty absolutely no worries and then in the elements over here we can see we have one element and that is the calm house this points back to exactly this structure so data tutorial mode structures this is what this points to we don’t have any processor adjacents Highly recommend the telepathic runs tutorial repo if you’re interested in this they actually have a processor Json file there for you to look at and the other two I would probably simply keep this and you can change it to terrain matching just to try it out I highly Recommend playing around with this one way or the other but those are actually all of the Json files that you need so we can basically go through this one more time we need a tag to say hey in these particular biomes is this structure going to spawn we need to have A structure Json file which says this is the start pool and a few other things basically pointing back to the biomes and stuff like that we then have a structure set which gets the placement and then the star pool itself points back to the NBT file and that is all we Need now let’s make a new world and see if our structure spawns all right we find stuff in Minecraft and let’s just see look at it look there we already have one of our count my houses and well it definitely did spawn one below which um isn’t quite What I had in mind but you know we could still go in here there you go everything’s still available as it seems and well if we now you know just go a little bit further along I’m pretty sure we’re gonna find a another one pretty freaking quickly Over here so there’s actually the second one so you can see they’re very very close to each other highly recommend to change the numbers over here at some point but overall it does spawn that’s pretty awesome so maybe the terrain adaptation or terrain matching one would Be better a little bit in this case instead of doing it rigid but still regardless of that custom structures in Minecraft pretty awesome indeed what about that’s gonna be for this tutorial right here I hope you found this useful and you’ll learn something new and I’ll see you all In the next tutorial so yeah Video Information
This video, titled ‘Minecraft 1.19.2 Fabric Modding Tutorial | CUSTOM STRUCTURES | #36’, was uploaded by Modding by Kaupenjoe on 2022-10-10 13:59:46. It has garnered 3631 views and 78 likes. The duration of the video is 00:09:35 or 575 seconds.
In this Minecraft Modding Tutorial, I am adding a custom structure to Minecraft 1.19.2. All in Fabric and Minecraft 1.19.2.
== SUPPORT ME ON PATREON == ▶️ https://www.patreon.com/Kaupenjoe
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Fabric-Tutorial-1.19/tree/36-structures Gist: https://url.kaupenjoe.net/yt444/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 *
== 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