Let’s spawn some beautiful flowers in the world let’s see flower generation all right we found ourselves back in intellij once more and in this tutorial we’re gonna be adding flower generation to the game so we’re gonna generate our blue belts in the world and it’s actually going to be fairly straightforward i Not only highly recommend the last tutorial i actually think that it’s sort of a prerequisite for the coming world gen tutorials because there’s a lot of basics that we’ve covered in the last tutorial so i highly recommend taking a look at that as well and now so to add a new configured Feature because of course we need to add a new configured feature here first of all we need to add a new registry key so i’m just going to duplicate this by pressing ctrl d and then we’re going to say blue bells key and this has the name blue bells There you go easy enough right and now let’s actually create the configured feature so we’re going to say public static final and then configured feature question mark question mark once again and this is the blue bells underscore config and this is equal to the register method and then we’re gonna say feature dot Flower dot configure and then we’re gonna do craziness once again so we need a new random patch feature config.builder and instead of here we’re going to make a new simple block state provider where we could also of course once again use a weighted block state provider or Some other block state provider and then also put in a multiple different you know blocks in theory so that would also work we also need a simple block placer that instance and then closing the parentheses here dot tries we’re going to do 64 and then we’re going to Say dot build and then closing the parentheses again so those down here we actually don’t need and then we’re going to call the dot decorate with the decorator dot we’re going to say spread 32 above dot configure with the nope nope decorator configure instance and then one parentheses afterwards We’re going to call the dot decorate again and this time with the decorator dot height map that configure with a new height map decorator config with height map type and this time once again the motion blocking and then at the very end here so only taking two here at the end right Two parentheses we’re then gonna do dot spread horizontally dot repeat four and then ending this with two of those and then right here we say blue bell keys and then ending this putting this and then there you go code is of course always available in the description below get a repository or Individual gists and the formatting here you know i mean the formatting you could probably make a little bit nicer in some ways or in others but you know what can you do it is a very long thing and what i can always just advise you to do is basically Press the shift key twice and then go into the configured features right here and here you can basically see well almost everything that there is to see so for example we could say something like flower and if i go after from the top that’s better here the configured features for warm Flowers i can take a look at those and you can see that it takes in the spread 32 it has the square map and then it does repeat four pretty much exactly what we’ve done uh in here so i can very much definitely just advise you to take A look at those to get some vanilla examples however this is pretty much that what we need to do to add the configuration here and now inside of the gen package we’re going to create a new java class called the mod flower generation now this is not strictly necessary to create this However i personally like to have everything separated very neatly and we’re going to make a public static void called generate flower flowers there you go and then we’re going to do once again biome modifications dot add feature biome selectors that found in overworld generation step a vegetal decoration Once again because this of course once again is vegetarian decoration and the mod configured features that blue bells key once again we need to pass in the key here and now in our mod world gen class right here we actually want to call this as well so it doesn’t matter In what order we call this because both of them are at the same generation step if we had a different generation step here so if i go into this this actually has to follow the correct order so that is something that we need to keep in mind for example When we are soon about to add something like or generation that would need to be called we can see actually before the decoration is called so that’s something to keep in mind otherwise this is now called in here the thing is already registered so this is already registered This is already registered so that’s pretty much the cool thing about the sort of entire thing here yeah this is basically now being done so this is called right here so everything should work totally fine so overall this is actually pretty much all that we need to Do for the flower generation so let’s see if it works right then once again don’t forget to create a new world for this of course because we have messed with the world generation so allow let’s see all right we found this in minecraft and there you go as you can see the blue Belts are already in the game already have spawned in here and as you can see they’re you know sort of growing in these patches and i could probably you know find even more patches along the way there they are as well in another biome this is of course well basically Done in the biome selection right you can always of course change which biomes it spawns in but i gotta be honest that’s actually pretty cool and that’s actually pretty much how easy it is if you have some things that are working already with the world generation now Adding new stuff is actually not too crazy if you know i’m being honest right i will say this once again if you want to mess around with this i highly recommend just playing around with the numbers taking a look at what you might come up with in terms of different Configurations here otherwise this would pretty much be it for this tutorial right here i hope you found this useful and you learned something new if you did i would very much appreciate a like and don’t forget to subscribe for more tutorials just like this one so yeah Video Information
This video, titled ‘Minecraft, but WE ADD FLOWER GENERATION with Fabric’, was uploaded by Modding by Kaupenjoe on 2021-12-15 15:00:38. It has garnered 550 views and 22 likes. The duration of the video is 00:06:33 or 393 seconds.
In this Minecraft Fabric Modding Tutorial, we add FLOWER GENERATION to Minecraft!
== ASSETS & DOWNLOAD LINKS == GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/Fabric-Tutorial-1.17.1/tree/34-flowerGeneration Gist: https://url.kaupenjoe.net/yt143/gist
== TIMESTAMPS == 0:00 Intro 0:33 Creating the Configured Feature 3:50 Adding the ModFlowerGeneration Class 5:20 Demonstration 6:18 Outro
== TAKE A LOOK AT MY COURSES WITH COUPON CODES == ▶️ NEW Forge Modding with Minecraft 1.20.X: https://url.kaupenjoe.net/CourseForge120X ▶️ Learn Forge Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseForge118 * ▶️ Learn Fabric Modding with Minecraft 1.18: https://url.kaupenjoe.net/CourseFabric118 * ▶️ Unity 2D Game Development: Beginner Unity C# in Unity 2020.3: https://url.kaupenjoe.net/UnityENCoupon * ▶️ Minecraft Modding for beginners (1.16): https://url.kaupenjoe.net/MCCoupon * ▶️ Complete and Roblox Lua Game Development: https://url.kaupenjoe.net/RobloxCoupon *
== 1 MONTH SKILLSHARE FOR FREE == ▶️ https://www.skillshare.com/r/user/kaupenjoe *
== SOCIALS == Discord: https://discord.com/invite/yqxykanpWf 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.
== ADDITIONAL CREDITS == Outro Musik by Kevin MacLeod: “That’s a Wrap” Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0
== AMAZON AFFILIATE LINKS == Amazon Referral [US]: https://url.kaupenjoe.net/amazonref/us * Amazon Referral [UK]: https://url.kaupenjoe.net/amazonref/uk * Amazon Referral [DE]: https://url.kaupenjoe.net/amazonref/de *
== 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