Topic category: User side tutorials
Hello! Today im just going to do a small tutorial, hope it's easy to read AND to follow!
1. Creating your Custom Grass
First of all, you want to create your custom grass. This should be easy, so im not going to picture it.
2. Creating the Custom Dirt
Next, we need the dirt block. You're going to do it like the grass, and I guess you can use the bottom texture of your grass block to serve as all the face textures of your block!
3. Procedures
Next, the harder part : Procedures!
First, you want to add a " if... do... else... " block. It'll serve us to locate the block upon and do an action that depends of it
Next, we want to test if the block up to the grass is air. We're going to add this block to the " if " condition in order to test it
Now, we're going to make it so the grass will stay a grass block if the block up to it is considered air. I don't know if it's required, but let's not miss it all up!
By the same way, we will place the same order in else, but with the dirt block !
And now, it is done! You can now place the procedure in the grass's Update tick ( Though it'll look less Minecraft-ish, as it'll erase the grass instantly ) or Random tick update event ( To make it random ). Have a nice day !
noice
i did has you did, my grass is not spawning when there is no air, but if there is one side of the block that has air, it will stay the same and not change, i only want it to change when there is a block above
Try to change some stuff. If it still doesnt work, its probably because of the changes from the latest MCreator versions!
Under update tick for your custom grass, create an if-else statement, if there is an air block above (at x y+1 z), do nothing, else place your custom dirt block at x y z.
How do you make it generate all over the custom dirt block though? Like reguler Grass does? I am makinga grass like alternative for end stone and I want it to generate in specific biomes in the way grass does over dirt, instead of small groups here and there.