Hi guys I’m drizz and I’m here with another Monta toriel but this time it’s gonna be on service builders so we were basically I’m basically just going through and trying to get as much of the biome stuff as possible just because there’s so much of it and really biomes Are pretty cool making your own biome this is probably one of the coolest things a lot of people want to add their own biomes and so that’s why I’m doing a lot of this essentially when it comes to making a biome it’s pretty simple it’s just like registering everything else You really only need three classes one for your one for your biome surface so it basically controls what surface is going to be thrown out and this another class that actually dictates what the surface is so this is what essentially is on the surface of which blocks are Containing or within that surface so there’s three blocks that are being being chosen and I’m gonna go through all of that and basically show you guys an example I made a pretty cool example with a block I already created plus a bunch of other different things I’m gonna explain it and hopefully you Understand how this works so this is done pretty much the same way as everything else you need a Modbus subscriber this is a registered event you what you will be registering your surface builder the same as you would a feature so you’re registering your your oh it says biomes here for some reason Whoops alright so you’re gonna be registering your surface just like you normally would this isn’t I’m writing it this way because I get a lot of errors with surface builders and this makes it keeps it from giving me errors basically when I add more of them it’s basically it Felt me a lot so I do it this way just because it’s a lot easier and it’s pretty simple you just call your surface up here and it it links itself to the test surface class to the constructor of that class and then this links itself for the Registry for for the purpose of this year and over here normally you would call I Forge registry down here dot register surface so on but I’m doing it this way over here and you register your surface and this is the surface name the name is gonna be registered to this to Your dear mod name essentially if you are getting an error that means that you’re not registering any services and that means you need a surface to register so you should probably grow out of it will go to the surfaces first because it’s probably the easiest to explain essentially this calls your surface this Is what your surface actually is so when you’re calling the surface you call it here not you do not call this so this is what you’d be calling and your surface actually consists of a surface builder config and these blocks so there’s three blocks one two three and this is really It and you can actually add like multiples so to this to this one link and you can call them all over here so a test surface two and then you can make a completely different different test surface over here and you can have as many as you want there’s really no limit But just to show you what I did is I made the blocks you always need to get the default state on your blocks when you’re you’re calling your blocks I chose to get my basic block which is essentially just a cool-looking square block and I added lava and then furnaces So if you’re wondering why there’s three blocks what this is this is the top block the top of the block that’s at the most top and there’s only one layer of that and then what will happen is it’ll be three layers of your second block whichever one you choose to be your Second block I chose lava so it’ll be three layers underneath that of lava and then this is the block that’s gonna show up underneath water so when there’s a pool of water underneath that water there will be a furnace block essentially so the last thing that you Need is a test service class which extends service builder and then your service builder config so what’s great about this is first you need to deserialize it and your super like this and your and then this is essentially your surface bill this is required this is required so it’ll it’ll automatically Populate itself and this is what chooses your surface builder you can just put just the surface builder and you choose build surface surface builder on default at build surface and then it’ll come up you put all of these options in here and then this is your your surface at the End here I didn’t like this to show you that you can have it switch services based on the height and the difference the noise difference from from the base so like this says that if if the noise is within a certain level then it automatically puts the first one and Otherwise it’ll put the other one so that’s really the whole point of this is to show you that you can have multiple options you don’t need to limit yourself to just one surface for any surface builder on its own so your surface builder can do multiple things and you Can set different options to your surface builders so if you can choose the second block for example from the top and have that one change there’s really a lot of options so that’s pretty much it I’m gonna show you how it looks first I’m going to show you that Registering to give you an example because it’s important to see these things to know that it’s working properly that’s my feature which still doesn’t have the right name but that’s okay so here we have test surface test mod test surface it’s the 12th surface these are The other surfaces as you can see so it is registering in here we have an actual example of the test surface so this is what it’s going to look like as you can see one two three and then stone there you go this is how it works isn’t that amazing So I did I did make a test biome for this so if you do want to see how it looks in the actual surface builder I can show you that as well right in the actual biome I’m going to show you that right now or actually I can’t even show You this here there you go I forgot to show there we go that’s my bad there so as you can see here there’s one two one two three there in the top block just like that it’s pretty awesome it’s pretty cool how this works so there’s Nothing on here like I said I’m gonna show you why let me close this down here it’s because I made my own surface here and this is how you call the surface just like this like I said the surfaces is the one that you’re calling my test Surface and it’s basically just a normal a normal biome just like every other biome just with my surface instead of the other one and that’s pretty much it guys so if you have any questions like I said there’s a modding community in the discord below And if you want to get hold of me you’re more than welcome to join my discord it’s my mods called grass world and my mods in the description as well and please follow and subscribe it does help it does encourage me to make more videos And I will be making some more videos my next video probably either about trees or to be fair I’m not a hundred century but you know this is where I had decided on making it at least as many videos this week so we’ll see how it goes and If you have any suggestions please feel free to suggest them so thanks a lot guys and have a great day Video Information
This video, titled ‘1.14.4 Minecraft Modding Tutorial – Surface Builder Creation’, was uploaded by Adam Tessier on 2019-09-27 20:35:45. It has garnered 296 views and 6 likes. The duration of the video is 00:09:33 or 573 seconds.
If you have any questions Please Feel free to message me on Discord, I’m not everyone’s cup of tea so i’m sorry in advance!
These are my mods
https://www.curseforge.com/minecraft/mc-mods/foam-dome
https://www.curseforge.com/minecraft/mc-mods/grassworld Its currently undergoing a rewrite as it was my first mod and I’ve learned so much since then. My discord should be available there!
https://github.com/drizzs/TestMod This is the github for the mod, all the code will be there including all future code!
For Modding help https://discord.gg/c8AaHJG You can @drizzs for help in there!
Don’t forget to Subscribe and Follow!!! More Follows means more Video’s!
Follow me on twitch for Modding streams! twitch.tv/darkdrizzs