Let’s add these flowers to Minecraft oh right we find ourselves back in each other ones more and in this tutorial we’re going to be adding custom flowers as well as custom flower generation to Minecraft including the flowers inside of the pot so let’s go into our modblocks class and start with the Flowers let’s just copy over the planks twice that’s going to be fine and this is going to be the buttercups this is actually a real flower I did check this out and um I think my custom texture is actually not that bad this is of course A new flower block over here and it’s going to take in three different parameters the first one is a status effect this is the status effect for the suspicious stew let’s just do something like haste maybe and then it is the duration I believe I don’t know in what Format this is it is definitely not in it’s definitely not in ticks I can promise you that I think it’s in seconds possibly uh it’s not in minutes as well I don’t think so it’s probably in seconds but 8 is going to be fine that is gonna be okay anything else we also Want to cut copy from let’s say the dandelion over here and I believe this is actually all we need here now this is going to be the Potted buttercups there you go and this is going to be register block without item very important that we do not have an item for this because Of course the pollet plant works as the in the following way you put down the pot and then you right click with the plant that is why this is the case and this is of course also named potted underscore buttercups there you go and this is going to be a new flower pot Block right here the first parameter of it being modblocks Dot buttercups and that is it we’re just going to copy over the Potted dandelion and there we go now we have the buttercups and the Potted buttercups properly registered now let’s go into the tutorial mode climb class and Actually make both of them cut out as well that actually is the case so both the butter cups as well as the Potted butter cups there you go should be render layer cut out and that is going to be fine as well right now let’s add The block States Json files on all of that craziness as well now all of this is as always of course available to you in the description below get up repository and individual just as well but you know really like looking at this it’s nothing too crazy right it’s just It’s literally just pointing to some model files same with the translation here nothing that you haven’t seen yet there we go translation also added and then let’s get the model files in here as well so when it comes to the block model file I believe that they are both Pretty much standard model files I’m pretty sure let’s take a look here there you go it’s a cross pattern in this case it’s the same pattern that the sampling also has and this one is a flower pot cross so nothing too crazy and when it comes to the items pretty much only we Only have of course one here the buttercups because what they planned the Potted one does not have an item associated with it so we’re also only going to have one texture over here and that is it and now those are the steps to add the flour itself but of course we Also want it to spawn in the world so how will we do that actually also not complicated at all we’re just going to get a new configured feature right here so once again this will be copied over however all of this is available to you so you see this is a random patch Feature config in this case of feature flower we’re just creating a random patch 64 tries and we’re placing down the butter cups that’s literally all that we’re doing right here and then what we’re doing in the what place features class is well making a place Feature out of it and it looks kind of like this so the Rarity placement here is four and then we also want the square and biome here as well as the motion blocking height map so this basically just ensures that it’s like placed down properly so to speak and then the Rarity Here of course the higher the number the rarer the butter cups would be would be fairly self-explanatory and nothing too crazy let’s copy over the tree generation over here and we’re going to call this the mod flower generation absolutely generate flowers this time there you go and then we’re just going To change this we’re going to keep the planes over here and we’re just going to change this to buttercups and that is it so we want the vegetable decoration as well that’s very important and then of course we also want to call this in the Mod World gen class so this is going to be a mod flower generation generate flowers there you go and that is actually all the stuff that we need to do in order for the flowers to be added we now have flowers we now have potted flowers and We should also have flowers that spawn in the world so let’s go into the game mechanic world and see if everything works all right so we found ourselves in Minecraft again and let’s see well I mean look at that we’re already here and there we already have some buttercups There they are absolutely amazing and don’t they look just absolutely great of course they do so let’s just get a pot over here and let’s see what happens and there we go we have a pot and we have a potted Buttercup exactly how we’d expect it to so absolutely amazing they’ve been Added to not only the pots but also World gen so there you go that’s how easy it can be to add some custom flowers to the game right but that’s gonna be for this tutorial right here I hope you found this useful and you learned something new and I’ll see you All in the next tutorial so yeah Video Information
This video, titled ‘Minecraft 1.19.2 Fabric Modding Tutorial | FLOWERS | #34’, was uploaded by Modding by Kaupenjoe on 2022-10-03 13:59:46. It has garnered views and [vid_likes] likes. The duration of the video is or seconds.
In this Minecraft Modding Tutorial, I am adding custom flowers, with flower pots AND custom flower generation to Minecraft 1.19.2.