Hello and welcome back to another tutorial today i’m going to be covering biomes and there’s a couple of ways to do biomes in minecraft but we’re going to go the easy route and create biomes using a json file and not only does this allow us quite a Lot of customization but we can also pretty easily integrate it into our dimension in this tutorial i’ll just be showing you how to create a biome and how you can make it spawn in the overworld and the easiest way to create a json file is to use the data generator On io missout.github.io link for which you can find in the description and we’re going to go to world gen and then to biome where we can create our buyer and you can see over here there’s quite a lot of stuff you can do or you can use a preset and these depth And scale will probably be removed in 1.18 since the height will no longer be controlled by the biome and i’m just going to use a preset and then explain what the json file actually means so the preset i’m going to go for is going to be the plane’s biome And this is just the default minecraft planes biome and you can see all of this over here and i’ll explain it all now but it just directly transfers into the json file which you can find over here so we’re going to start with the surface builder which is responsible for creating The surface of our biome we’re just going to use the default minecraft grass one but i’ll be showing you how to create a custom one in a video soon we also have the depth and scale which raises or lowers the terrain and vertically stretches the terrain then we have the temperature and how Much it rains so the transferred terrain is 0.4 and the temperature is not 0.8 and this is going to be larger in a desert or lower in a tundra and our participation you can change between rain snow or none temperature modifier we can change it to onset to be none Or to be frozen but that’s just to add snow into the game and the category we’re just going to put this as planes if you have multiple similar binds you can put them in the same category then we have the effects of the sky color the fog color the watercolor these are all Decimal color files over here then we have the different structures that can spawn then the different monsters that can spawn and the weights with which they spawn and you can add a custom thing here by replacing minecraft with like your mod id so for example mod id colon example entity would be the Example entity that we spawned then we have the creatures that can spawn so this is the passive mobs the ambient mobs so the bats in this case the water creatures which in this case are the glow squid and axolotl this is for 1.17 so we can always change this down To 1.16 and then re-select the plane spine preset then for the carvers we can select the cave and canyon carvers and these are air collars you can also add liquid covers to make custom water balls then we can add the features and these steps are the different generation stages And the order in which they go in is step 0 raw generation step 1 lay step 2 local modifications step 3 underground structures step 4 surface structures step 5 strongholds step 6 underground ores step 7 underground decoration step 8 vegetal decoration and finally step 9 which is the top layer modification And that’s it for our biome i’m just going to take this json generated over here and copy it you can always edit this json directly and i’m going to move it into eclipse so back in eclipse in our source main resources we can go to data.mod id And then create a new package called dot world gen dot biome and then i’m going to create a new json file called example underscore biome dot json and in here we’re going to paste the json we’ve already made and there we go that’s actually it Now we just need to register the bio in the game so in core.init let’s create a new class called biome init and all we need to do in this class is to create registry keys for all of our biomes so let’s create a public static registry key of biome and we’re going to Call this register biome and this is going to take the string biome name and let’s press ctrl shift o to import biome and inside this method we’re going to return a registry key for our biome so let’s return registry key dot get or create key and this will be dot create on Modge maps and here we’re going to put registry dot biome key and in mod maps this will be by registry and then we’re going to pass in a new resource location and inside this resource location we’re going to pass in our mod id so tutorial mod Dot mod id and then the bio name now let’s actually use this register button function so let’s create a public static registry key of bottom and we’re going to call this example biome and we’re going to set it equal to register biome of example by them and now we’ve created A registry key for our example bio if we wanted to create another one we can just copy this line change this to something like example biom2 and make this example bio2 and we want to make sure this name is exactly the same as what we’ve named our json file However we won’t be able to load this bio up without actually adding it to a dimension or to the existing overworld so let’s do that let’s create a public static void called register biomes and then here we’re going to add the biomes to the overworld so all i’m going to do is biom Manager dot and biome then we pass in the biome type so biomanager dot biome type and then we pass in the type this is going to be a cool biome which is the plane sperm so i’m going to set this to cool and then we pass in A biome and to do that we can create a new biome manager dot biome entry and all we need to pass in here is our registry keys example biome and the weight and i’m just going to give this a weight of 10 so it generates quite commonly and it’ll Be easy to find in the world now all we need to do is just call this register biomes function and we can do that over in our main class so all we need to do under here is biome init dot register biomes and we’re also going to create a Deferred register for our biome just to make sure that it generates in the world properly so let’s create a public static final deferred register of biome and i’m going to call this biomes and i’m going to set it equal to deferred register dot create forge registry dot biomes and tutorial mod Dot mod id and under here we’re going to create a public static registry object of biome and we’re going to call this create biome where we’re going to pass in a string biome name and a supplier of biome called biome and in here all we’re going to put is return biomes dot register The name and the binom supplier and then just above our example bone we’re going to open a static scope where we’re going to create biome of the biome name so in this case example biome and we’re going to put in biomaker colon colon make void biome then let’s press ctrl shift o to Import and in mod maps this will be the void biome instead of make void biome so just make sure you change that then in our main class above here let’s do biome init dot biomes dot register and we’re going to put in the bus and then finally let’s give our bio a Name in the lang file so let’s add biom dot tutorial mod dot example biome and set the value to example biome and there we go now we can run the game and when we create a new world you’ll be able to see our example biome in the single biome type world type But this is actually broken in minecraft so we’re not going to be using that instead we’re just going to create our new empty world and when you’ll do that you’ll notice this screen there’s a mod that stops the screen called shut up experimental settings which you can Install the dependency but for now we just click proceed and when the game is opened we can run locate biome with our bio and you can see it’s found our example by 998 blocks of way so let’s teleport to that biome and there we go although it may look a Little bit like a plane spike that’s just because we copied the preset you can see in f3 mode that we have biome tutorial mod example biome and you can see that structures actually work here since a village has generated and you can see that passive mobs spawn here and if we set The time tonight you’ll begin to see some hostile mobs spawn such as this skeleton if you need any help with biomes or just want to hang out we have an amazing discord which you can join and there’s a link in the description next time we’ll be covering some mobile gen such as Surface builders dimensions and then we’ll move on to structures foliage features carvers and maybe even more thank you for watching and i’ll see you next time You Video Information
This video, titled ‘Minecraft Modding Tutorial 1.16 | 23.0 – Biomes’, was uploaded by Cy4’s Modding on 2021-08-03 13:00:59. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.
psst… discord is cool…. join it now ;D (ɔ◔‿◔)ɔ ♥ ~ expand me C://Links/ Misode: https://misode.github.io/ Shutup…