Hello guys and welcome Marcin the man come on to toriel imitates episode we’re going to be creating our own custom biome as well as a world type so we can see our biome in action so let’s get started the first thing we give me do is Go into the init class the init package and create a new class called tutorial biomes in this class we’re going to declare our biomes so public static biome tutorial biome and import biome with control shifter now then we’re going to go into toriel mod registries and below register entities we’re going To copy it paste it in rename it to register biomes it’s a registry event of type biome import biome remove that remove this tutorial entity and remove this register world spawns but then going to register our biome tutorial biomes dot tutorial biome equals new tutorial biome as a class We’re then going to hover over this and create this class and put it into hide of dot world dot biomes it extends biome and we’re going to add the constructor and once the biome builder so we’re going to do that so super a new biome dot builder and then we’re going to add The properties so we’re going to put dot and lots of different properties so we’ll go through each one there are six of them that are required but it’s an extra ones as well the first one is the most important one which is dot surface builder and this is how it’s going to Build the biome to look correct there’s three things we can change in creating our custom biome in this simple way which will be the top block the few blocks underneath the top block and the blocks and the water so for example and and Plains biome that would be the grass Block the three pieces of dirt beneath that and then the clay below beneath the rivers so we’re gonna create a new configured surface builder and this is the under heavy of type that surface builder config code Josif go to import that the type of builder in do surface Builder dot and there’s lots of different types that relate to the types of Minecraft biome so there’s just default which kind of like quite a flat biome its Plains there’s Mountain so it’s quite high and low there’s nether which is like just like the nether and so on and so forth There’s these different types of biomes most biomes are default or mountain so you can choose either one I’m going to go to default for now if you remove this I save is build a config bit and make sure you’ve got service builder imported then the config is a new surface builder Config the top block top material is for me tutorial blocks dot tutorial block just on my top block the under material is going to be tutorial blocks dot tutorial law and the underwater material is going to be this meat anything I’m going to go with block dot Acacia logs why not and then these all need to be docked get default state as it wants the block state it’s dead and that’s the surface builder config and the next property is dot precipitation what we need to remove the two on the end here and this is going to be of rain Type this is rain type dot so you can have none none so it never rains in your biome you can have normal rain or you can have snow I’m gonna have snow next is dot category and you can do category dot and lots of different types of biome Categories mines isn’t me of type plains but you have those choose your category for your biome next we won’t do dot down for this is actually how much it rains in your biome you can go into the biome class I believe and look at all of the Vanilla biomes also notice that in the biomes class so does type inside of here biome stopped bad land or something and click on biomes and then you can find all of these Plains biome desert biome and so on and you can look at its properties so in the desert there is Zero downfall but if we look at the forest biome there is quite a lot down for nor per eight so you can mess around with this value and find out how much downfall you want I’m gonna go with not point to 3f next we have biome depth and this is to do with How how much height you get on your in your pi ohms so increasing this value will make your buy arms a lot higher and cause uh some mountainous regions and so on and reducing this and well obviously make you buy I’m really quite flat like A Plains biome so if you look in the biomes again as we’ve seen if gravelly mountains biome have a debt value of 1.0 F whereas the Plains biome has a depth of not one to five F because it’s very flat so we indeed depth and I’m gonna my Biome relatively flat so something not went to F next is the biome temperature and this will define things that relates temperature so it’s just like how fasts met a snow will melt if it lands on ground so it’s a very large value the snow will will stay for a long at all so We’re gonna have not point one F in my biome just be quite cold biome then finally water color and we can go on a hexadecimal colors and find the correct color you want so we have this color here get these six numbers and type zero X and paste that in and it will that’s the your water color and then water fog color this is very similar this you might want to change the color a little bit I’m gonna leave it the same and that’s obviously to do with the color of The fog as well as I missed a parameter in the biome and that is dot scale and this is how large your biome is so you can compare to the other values I’m gonna put not point five F and as this Italy a relatively large biome but not huge again you can choose This value depending on how obligor biome wants to be and the final property is dot parent so if your biome is for example a very into another biome you might want to make another biome it’s parent so but for us we’re not extending up another biome so you can just put Null and that’s fine in fact it’s a knowable and function so that’s the basic features of your biome however we can add things using the default biome features so it’s having default biome features dot and there’s tons and tons of functions some of them for me at Least haven’t been the obviously AJ but some common ones you want to use ad carvers this and if you hover over that it creates caves and canyons in your biomes you could manually add these individual carvers so example you didn’t want to do you want to have a canyon or You wanted to increase the probability of cave spawning you could just copy this and do they say if I I’m in this because it is a biome this to add cover and then you could change this to not point five F and caves would be a lot More common in your biome but we’re gonna leave it in the default biome features so it’ll spawn the default way the Minecraft normally does so again you go through all the default biome features if you want to add all the default structures to your biome then you can do The add structures function add lakes will create water and what lava lakes in your biome monster rooms will create dungeons stone variants will add all the weird types of stone I don’t want that the normal default stare I hate the new stone variants you want to add doors that means that normal odds Was born in your biome almost of course you don’t but I’m gonna add that as you see there’s tons and tons and tons of different ones that I used normally for different types of biomes and you can read through all of them and decide what fits your biome you can also create your Own custom and decorative features we might go over that in the future tutorial but for now you can just use all the default minecraft ones or you can use the Ford forums or my discord to try and figure out how to do it by yourself and the final theme a lot er Biomes of course entity spawns so in do this dot adds spawn entity classification dot and then you can do a creature or misc or ambient or monster I’m a new creature and I’m going to add my custom entity that we created in a couple tutorials ago so give me new spawn list entry Tutorial entities dot tutorial entity then wait so how common you want it to spawn and put a hundred so it’s really quite common name group count of one maximum crew count of five for me at least and then my tutorial entity will master polymer biome if you want to add The old three monsters just normally spawn just go into biome stopped any any biome it’s good the Plains biome then we can see all of the normal things that spawned and down here we have all the monsters I’m going to add all the monsters in and again you can change the commonality Of the spawning in the weights and I’m gonna remove slime from my volume actually and also witches and obviously these will only spawn at night as well and the Panther means doing tutorial biome is a set registry name do this dot set registry name tutorial mod registries dot location tutorial by them So that is their custom by uncrated just change that to public so it can be spawned and then we’ve register by them now however it will not Lee spawn in the world yet as we haven’t been registered as a spawned biome so we create a function public static void register Biome and inside here we’re going to do two things biome Dictionary dot add types it’s in taking a biome parameter biome biome and a type parameter type types and hover over type I think click ctrl shift over to import type and we want net dot voyage to comment up biome dictionary Type and we also want to do in bio manager dot add spawn biome biome then create another function public static void register biomes and then call the register by own function I mean for our tutorial biome and a lots of different types tight dot and then we can have Planes type dot dry and so on so forth here as many as you want then inside of our tile my registries we can call just below here tutorial biomes dot register biome and then that is all your biomes registered now your biome will nice boy In the world but it may take you a while to actually find it and in which case if you want to test changes really quickly without having to search around for your biomes you may want to create your own custom world type so inside of world or Create a new class called tutorial world type you have to send world type add the constructor you can remove the string name parameter and just input the name tutorial type and then to make it so only your biomes bonden here we are going to do a crate generator and then firstly we’re going To do overworld biome provider settings call it settings and the sequel to a new overworld biome file settings then single by and provider settings call that single is equal to a new signal biome photo settings then do single dot set biome you can do tutorial biomes double to toriel biome and then finally Return a new overworld chunk generator takes in the world parameter a new single biome provider and it takes in the single settings and then the final parameter takes in the overworld settings so I’m going to do over well gen settings here not overworld by and provider settings and there we are what This will do is create a new trunk generator so when it’s generating the trunks of the world it will only take in our tutorial biome so we’ll only generate our tutorial by them then to Dredd register this we just go into our main class below item group and do another public static final Call it well type tutorial type and a sequel to a new tutorial world type so now you’ve led the world type and created our biome we can now boot the game we can create a new world and go to more world options and you can go into The world type and you’ll find generate still tutorial and discord type you can rename this in your line file then we can create a new world so here we are on our biome as you can see we have our tutorial entity spawning we have our red Water as well as some ice as we said to be quite a cold biome we have our stop block and our three under blocks and then we have all the stone below that we should get also normal all spawning down here and it’s quite actually flooded Because we say it to be quite a low biome which means it’s actually below sea level and and this will cause partner by onto flooded so if you want don’t want so much water you may want to lower this value but it’s a custom biome all created obviously you can also find This in the normal world and it should be spawning you just have to look around for a while as there are tons of biomes in Minecraft but this world type allows you to tech quickly test all the changes to your biomes until it is completely correct so if you have enjoyed this Tutorial or found it useful please leave a like down below and subscribe for more thanks for watching mine has been Harry and goodbye Video Information
This video, titled ‘Biomes and World Type – Minecraft Modding Tutorial 1.14 / 1.14.4’, was uploaded by Harry Talks on 2019-08-08 10:28:11. It has garnered 7894 views and 181 likes. The duration of the video is 00:20:38 or 1238 seconds.
Creating custom biomes in 1.14 !!
Basic Java Tutorials: http://tiny.cc/JavaTuts Default Textures: http://tiny.cc/DefaultTextures LangToJSon convertor: https://tterrag.com/lang2json/ GitHub: http://tiny.cc/HarryGitHub Discord: https://discordapp.com/invite/xwg8zQJ