Topic category: Help with Minecraft modding (Java Edition)
Hello there!
So there is a problem, which I faced recently and could not actually solve alone, because I do not have enough knowledge of MCreator‘s procedures and possibilities. I want to spawn randomly one specific block around another block (in 5 block radius for example), which will replace other specific blocks.
Let me explain…
There is a Bee Nest block in Minecraft and I want to spawn around this block infected leaves, which should actually spawn randomly, precisely speaking, replace some other normal leaves. So my guesses are that I need to check for a block on world tick update and check for other blocks around namely for normal leaves and replace them with the random factor (i mean, the [Random 0; 1] thing, which I do not know yet, how it works) with infected leaves, but I am not really sure.
By the way this is my first comment and I appreciate all answers and help from you, guys!
I will check actually some tutorials about Random factor from the playlist, but answers from you would be really helpful!
Hey there! Saw your comment on my old topic.
I made a GitHub that teaches you how to do it, it also has the .ptpl file. Here it is: https://github.com/Downrest/Downrest-s-MCreator-Snippets/blob/snippets/…
If you have any questions, feel free to reply to this comment!