Let’s do it let’s add a custom biome to Minecraft all right found back inell once more and in this tutorial we’re going to be adding a custom biome to Minecraft now here at the very beginning I want to sort of caution a little bit because while of course we’re going to Be adding a custom biome and it’s going to work there are a couple of limitations that are going to face Us number one we’re going to be adding the biome I’m going to show how all of that works with Tera blinda and then the customizing like most of the customizing The bulk of the customizing you will have to do on your own but for that there are a couple of resources that you can take a look at but first of all what is terer well ter blender is a library mod that we simply need if we want our Custom biomes to be added to the Overworld if you only want your custom biomes in your custom Dimension then you don’t need teror blender however as soon as you want to add it to the Overworld there is basically No Way Around adding this as well because if you don’t do This then your mod will be incompatible with every other mod that adds custom biomes to the Overworld this is all since 118 I think when the like World Generation changed to a insane degree and sadly we will need to use this Library mod but this actually makes it Quite easy so in the wiki over here we want to go down and first of all copy the maven right here that’s actually quite important so for your fabric setup it is quite crazy but you want to go to the build.gradle file under the repositories right here we want to add Maven Minecraft Forge cuz otherwise we’re not actually able to get the ter blender dependency over here then we want to take the mod implementation of ter blender fabric right there with the x’s and the Y we’re going to change those in a second of course and to add this right here and Then the question is what are the X’s what are the Y’s well the X’s quite easy those are just 122 that’s just your current Minecraft version and then for the Y we’re going to use 3.0.1 170 so that’s going to be the version that we need in this case with That done we have everything that we need so we can now load the gradal changes this this once again is going to take anywhere from a couple of seconds to maybe a minute or so to download Terra blender and to add it to your project over here just stay patient let This run through and then once it’s downloaded we can continue from there there you go build successful in 28 seconds so let’s see what we can do in our world package we’re going to create a new package called biome and inside of there we’ll actually make one more Package it’s going to be the surface package and then in there we’ll make the mod material rules over here in this case and then the rest goes into the biome package this is going to be the mod biomes class we also want to make the mod Overworld region class as well As the mod Tera blender API class and this is actually the class we’re going to start with because it’s quite important that we get this correct so in here this should implement the Tera blender API over here and we can actually immediately override the on Tera blender initialized method right There you can delete this and keep it like this and now what we want to do is we want to take the name right here and this is extremely important so please pay close attention and definitely do this otherwise it will not work so in The fabric mod Json file you need to add this under the entry points over here so once again we want to go in here and we want to say a new one that’s going to be Tera blender written exactly like this and then a new list of Tera blender API And has to be net PJ tutorial mod and then this is under world. biome so it needs to be once again the correct package line over here right net c tutorial mode World biome and then we get to the mod Terra blender API this Has to be the case if you don’t do this then it’s not going to properly work once we’ve done this we’re actually going to continue with the mod bioms class first because that’s going to be the first step to actually registering or creating the biome so for this we Once again need a registry key over here this time of type biome in this case and I’m just going to call this the test biome because that’s the best name that I came up with in this case and this is going to be equal to the registry key. Of registry keys. biome and then this is a new identifier of tutorial mod. mod ID and then just the name which is going to be testore biome in this case and there you go that’s going to be the registry key created then we will have a bootstrap method again so this going to Be a public static void bootstrap here in this case with a registerable of type biome and we’re going to call this the context again and this is going to be context. register passing in the test biome key and then passing in the test biome method which of course right now Does not exist yet passing in the context here and there you go so for most of the rest of this including this class and some other classes I will be copying quite a few things over the outline itself is going to be the same and then only the particulars are going To be changeable so keep in mind that all of the code is always available to you in the description below in the get up repository so no worries at all and you can see we’re copying over the global Overworld generation method over here as well as the test biome method Which is going to be creating the biome itself so you can see in the test biome method right we’re creating a spawn Builder right so porcupines are going to spawn wolves are going to spawn as well as fum animals and basss over here there’s a biome Builder which is going To have you know the mossy rocks added default ores extra gold ores so trees from the Plains and stuff like that are added right here and you can basically add all sorts of features right here in this case and then here at the end you make a biome Builder which you can Basically say hey does it rain you know what’s the downfall what’s the temperature the generation settings and the spawn settings should always basically get the builders that we’ve created and then on the effects here you can do a couple of things right watercolor Sky color and all sorts of Things like that I found this to not work with the create in-game music over here for the custom one I’m unsure why that would be the case but there you go that is a thing that you can do you can of course also always check the Builder Class to actually see what else you could B basically be calling here for some examples for biomes go to the overall biome Creator class over here and you will see that first of all the add basic features over here that’s pretty much the same idea that this one Has you can see and then you can see that there are different methods for different biomes over here so create the jungle you can see this is what it does now you might have to scroll right a little bit but you can basically see this has all of the Overworld biomes Highly recommended to take a look at this class to basically see what you can change one very important thing inside of the method itself is that the or in which you add the things to the biome Builder right here is actually very important so of course one one thing That has to be the case is that the feature steps right the generation steps over here have to follow this order but then inside of the order itself it also is the case that the trees ples apparently have to go in front of the forest flowers and in front of the large Ferns if I were to put them here for example it might be the case that this does not work I don’t know why this is the case once again because biomes are absolutely ridiculous like I don’t know what Mojang did there but they did some Very weird stuff but that is a thing if it does not work then it might be the case that the order of features that you’re adding is not correct so what I then basically recommend you do is you comment out a couple of features and you Uncomment them one at a time and you see which might be in Conflict that’s basically the only way that I found this to work but yeah that’s that’s sadly it with this done we can go to the tutorial mode data gen over here at the very bottom and we can add another registry And that registry is going to be of course the biome here and then this is going to be the mod biomes class colon colon bootstrap and with that the biome here is all also added there so that’s going to be pretty awesome indeed now it would be generating a Json file however It’s not yet adding it to the world and that of course happens with Tera blender and the region right here so this mod overw World region is going to extend the region class from Tera blender API very important you choose the correct class over here hover over this crate Constructor matching super we can delete the region type because in this case the region type is going to be Overworld that’s going to be fine and then we want to overwrite the add biomes method over here so the ad biomes method the way that this is going to work is we’re Going to call the this. at modified vanilla overworlds biome passing in the mapper then starting to type modified vanilla Overworld Builder accepting with the Tab Key and then making curly brackets and inside of those curly brackets we can now replace biomes so this is the way that this is going to Work we’re going to take the Builder and we’re going to replace a biome the biome we’re going to replace is for example biome keys forest and we’re going to replace this with mod biomes do test biome so in this case some forest biomes are going to be Replaced with our custom test biome this is basically the way that you have to do this there is a secondary way and that is the one that is preferred however I’ve not gotten this to work so you can go to the GitHub repository to the examples over here to fabric and then You will be able to find in the example a region over here and in the region you can see that it actually uses a parameter Point list Builder over here and with that it basically uses the parameters to then map them over the other parameters like I said I have not Gotten this to work properly so I’ve just been using this so there you go but you can always double check the get up repository from ter blender highly recommended to use their example as well as other mods that use teror blender if they are open source I believe biomes You go should be okay I know that biomes or plenty does not work and I don’t even know if either of them are fabric to be honest with you but those are the two that I remember specifically but yeah right and with that region done we can Now go to the mod Tera blender API and right here we want to say regions. register making a new mod Overworld region making a new identifier of tutorial mod. modid we’re going to call this the Overworld as this is what it is changing after the first closing Parenthesis we then want a wait this is going to be sort of the weight on how often this might appear and with that we would already have our custom biome spawning however we don’t have any customization you might be like well wait a second we do have some custom Iation in terms of what like what’s spawning and what features are spawning but how can I change the landscape how can I change what is you know how the what blocks are spawning well that comes that is where the material rules come in and those are another addition that is Absolutely freaking insane and how insane is this well first of all I will be once again copying over the contents of this as you know it’s not actually that bad but also it is quite crazy actually in terms of what is happening so the material rules basically you Given certain conditions you can then place down certain States right so certain material rule states which are you know for example the Ruby block or the raw Ruby block so the things that I’m going to do is that if there is a floor right we’re going to change the Floor to Raw Ruby and everything that is a sealing we’re going to change to the Ruby block that’s all fine and well that is basically the depth at which I was able to proberbly do the modifications for the material rules that is pretty much it one thing you can take a look at Is the the guide to surface rules now while this is for Forge because it’s called surface rules and not Material rules the idea is the same right the condition over here whether or not it’s called if true or or condition that that is basically the same it’s the same idea That one you can take a look at and you can also take a look at I believe that Terin also has some of them yeah the test rule data over here that is where they Place red terra cotta and blue Terra Cota for their different biomes Over here but yeah that that that is sadly the only thing I have been able to easily do you would think because inside of it right in the material rules There Are Rules like vertical gradient or there are things like above y right here so you might think that well couldn’t You just do you know above y you know 50 and then you go to like 80 or something like that and in between those I want to you know create a different block that spawns in there it doesn’t work for me I have no idea the material rules are Absolutely frecked like they are insane in my opinion they are crazy over complicating this thing and this is as far as I’ve gotten I I highly recommend like I said you take a look at both Terra blender as well as other getup repositories if you find them and see Their material rules and hopefully those can get you to your custom biome this is the way that I’m going to keep it if you want to further customize it you have to do some research on your own with the rules made however we can now go once Again to the mod ter blenda API class and say surface rule manager. add surface rule surface rule manager we want to use the rule category of Overworld we then want to say to tutal mod. modid and lastly mod material rules. make rules and with that everything is done and we’re good to go So the first important thing of course is we want to run the data gen because our biome is a custom Json file so do keep in mind to run the data gen and once that is done we can we should actually be able to see our custom biome Here being added so let’s wait a moment and take a look oops there’s of course something I forgotten and that is in the mod world generator class we want to add this right here as well this is going to be the Reg rapper registry biomes over here in the configure method otherwise It’s not going to actually write the Json file once we’ve added this though then all of a sudden our Json file is going to be generated there we go our biome Json file added and we can see basically there are different corers here are the effects that we’re defining Over here and here are all the features in the correct order that they have to be in including some spawners over here for certain animals and entities that’s pretty awesome indeed and with everything done over here the Json file generated and teror blender added we can Now run the client make a new world and see our biome for the first time all right fin back in Minecraft and let’s take a look over here let’s locate the biome tutorial mod test biome and there we go we can actually find it within Range and once we go there you can see there it freaking is so we have some raw Ruby here on the well basically on the ground and if I were to you know descend down you’ll be able to see that the rests over here the the ceilings are all Ruby blocks and the ground is all raw Ruby which is actually pretty freaking cool but yeah there you go that is going to be the first steps on custom biomes hopefully to get you started with some pretty cool world gen and that’s already it for this tutorial right here next Time in this video We’ll add a custom Dimension and portal hope to see you there so yeah Video Information
This video, titled ‘Fabric Modding Tutorial – Minecraft 1.20.X: Custom Biomes | #43’, was uploaded by Modding by Kaupenjoe on 2023-11-28 15:59:55. It has garnered 516 views and 34 likes. The duration of the video is 00:14:25 or 865 seconds.
In this Minecraft Modding Tutorial, we are adding a Custom Biome to Minecraft 1.20.2 with Fabric and Terrablender!
== MODDING COURSES == FABRIC ▶️ https://url.kaupenjoe.net/CourseFabric120X FORGE ▶️ https://url.kaupenjoe.net/CourseForge120X
== SUPPORT ME ON PATREON == ▶️ https://url.kaupenjoe.net/patreon
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Fabric-Tutorial-1.20.X/tree/43-biomes Terrablender API: https://github.com/Glitchfiend/TerraBlender/wiki/Getting-started Surface Rule Guide: https://github.com/TheForsakenFurby/Surface-Rules-Guide-Minecraft-JE-1.18/blob/main/Guide.md
== 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 ▶️ NEW Fabric Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseFabric120X ▶️ 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://url.kaupenjoe.net/patreon
== SOCIALS == Discord: https://url.kaupenjoe.net/discord 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.
== 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