Started by
Ante19
on
Topic category: Help with Minecraft modding (Java Edition)
Does anybody know how to make that my plant can generate on vanilla block other than dirt and grass, like for example Crimson Nylium or on myown custom block?
Edited by Ante19 on Tue, 10/29/2024 - 20:07
Just make a custom tag and add all blocks you want it to spawn on into the tag. Then set placement condition to if block at x y-1 z is in tagged blocks (custom tag).
Oh thank you very much. But do it works to with placing the plant?
What i need to put under the if block?
in the "advanced" tab (I think that's what it's called) you can select what blocks you want your plant to generate on. you can also select which biomes the plant can generate in inside the tab "generation". alternatively, you can stop if from generating through that tab and do the thing in the advanced tab but make a feature to generate a tall grass patch but replace tall grass with your block and then add a "only if [] would survive at this position" conditional placement block in the conditions for placement bit, then select what biomes you want it to be placed in.
Thank you.