Helps going on guys turkey works here and welcome back to another minecraft modeling’s toriel this one is going to be episode 36 I believe and in this one we are going to be doing custom world types following our world journey series mini sort of series that we’re doing and So let’s get started so first if you are going to make a world type what you need to do is going to biome in it no not but not Block in it stupid going to biome in it and you want to go down to here and We need to remove this so biome manager head biome we need to just remove that line like that and that will make sure it doesn’t spawn in the overworld if you do want it to still spawn in the overworld you can add that by it you can Add that back but obviously you know we’re not gonna we don’t want it so we’re gonna get rid of it and that’s that’s bio minute so pretty simple and that’s what we want to go and do is create our world type of course so you Want to go into well and in in our test where we have our biome we want to create a new clark’s and we’re going to call this world type test and hit enter this needs to go ahead and extend world type so it extends world type And go ahead and import that then you need to go ahead create the constructor so just gotta wait for my ethics go and inside of this user font put string name and inside of here in our and that’s all constructor you want to put super off of Name then we need to go ahead and create another method so this method we’re about to create called get biome layer what this method does is it tells basically tells you it tells the game what biomes you’re going to you have inside your world type so we can return A new gen layer test and side these brackets you want to go ahead and put world seed and that’s that now we’re just gonna create this this class so creating world types is pretty simple it’s really not a hard thing to do so yep in the same place And that needs to get go ahead and extend a gen layer and we obviously need this now we need to create the constructor and we also should define as you will define a variable in a minute so in here once again we’re going to put No once again but it will put long seed and in here you want to just super off of seed then we’re going to do get Eddings so this is a bit of maps and this needs to stay the same and almost all the time so we need to do int deaths I don’t Remember what that stands for it’s equal to int doctor get into cache of width times depth times depth and actually we have it as an area with so area width times area height I think yeah I think so yes and then we need to do I’ll note That’s slightly wrong and needs to be an int array then we need to a for loop so for int DZ is equal to 0 and D Z is less than area height and DZ plus plus inside of here we want another for loop so for Int DX is equal to 0 D X is less than area width area wet and D X plus plus inside of here we want to do this dot in it chunk seed DX plus X or plus area X and then D Z plus area is it just like that Actually is area Y then what we want to go ahead and do is nest and open some square brackets and so this you want to open normal brackets inside of this you want to put DX plus DZ times width area with when I’ve been doing this I’ve just been using width and depth But that’s fine and then you want to go you wait why do we have oops didn’t mean to put brackets around that and that equals bio dot get ID for biome this dot allowed biomes and then in bracket in square brackets next int and brackets this dot allowed biomes dot length and Just go ahead and put that at the end and down here you just want to go ahead and return no not there there we need to return deaths just like that so now that’s done and now we need to go ahead and actually create this array of Allowed biomes so this is basically the biomes that you want inside of your world type so it’s an array of the biomes every time you want a new biome you just add it to this array so you want private biome square bracket square bracket allowed biomes is equal to open Some pointy brackets I don’t know what they’re called and then you want to put biome in it dot and we’re gonna use test biome now and then put a semicolon on the end now if you want more biomes you just put comma and you can put biome in It dot spook and sport biome for example and but I’ll see we don’t have that but what you can do if you want vanilla biomes you can put biomes dot and then you can have all these different things and so I want you have a A cold taiga as well as my bio so that’s pretty much it and obviously we need to go ahead and register this world type so let’s go into our registry handler so where have you got that you tell handlers registry handler and you want to go down to post in it registries this Would probably be the first thing in here and you want to do world type and we’re gonna call this test underscore type is equal to a new world type test and for the name we’re just going to put test and go ahead and import world type from net dot minecraft up world dot World my net door minecraft got world world type and that’s that so you also you can do test tight if you want but woods news test and I believe that is it we don’t need any Lang we don’t need anything else I suppose so let’s go ahead and run the Game and I will see you guys in the game and hopefully it will have worked all right so guys we just got into the game and you want to go ahead and click create new world now we’re going to just turn this to creative and we’re going to Call this and our world type then you can go to more world options and and we’re going to make sure it’s on on on off and click world type once twice three times four times five times so here we have generated test now obviously if you go ahead into your Lang We can make trouble this is correct so we can go down to the bottom and we can do slash world types Oh so guys as you can see we are definitely in the game everything’s here and it’s all very interesting to say the least Italy obviously looks pretty cool I’ll admit But yeah here it is okay so guys I managed to fix it so what you need to do the issue is so in registry handler I had this as a capital T and basically that was causing some glitches and it was getting quite confused so now I’ve just changed it to Lowercase in both of my registry handler and the Lang and if I now in the game you see world type test so yeah that’s that’s that so if you guys did enjoy this video please do be sure to smash your face into that like button and subscribe if you really enjoyed please Do before share it and I will see you guys soon goodbye Video Information
This video, titled ‘Minecraft Modding Tutorial 1.12.2 – Episode 36 – World Types’, was uploaded by TurtyWurty on 2019-07-18 19:21:39. It has garnered 593 views and 12 likes. The duration of the video is 00:11:46 or 706 seconds.
Hey guys, TurtyWurty here! In this tutorial, we go over how to make a custom world type. This allows you to have a world for specific biomes. Remember, if you guys have an issues/problems or need support, or just want to chat, join my discord server via the link below. Also below is a form that you can fill out for what videos you want to see next and in the future. If you want your suggestion to be taken into consideration, make sure you put it in the form and nowhere else. Also if the code is not working or there is a piece of code which I have said to copy, you can find all the code from the GitHub below. Hope you guys enjoy!
My Discord Server: https://discord.gg/d5cGhKQ My Personal Mod: https://www.curseforge.com/minecraft/mc-mods/vanilla-expansions GitHub: https://github.com/darealturtywurty The form on Video Requests: https://forms.gle/9RyzCgjEvmGpGjrE8