Started by
BasteGK
on
Topic category: Help with Minecraft modding (Java Edition)
Helli i have try to make a mod with new plants but i dont want that they grow at the side of the grass blocks -> next to a solid blocks. All my trys dont work please help :) A screenshot are very welcome and helpffully thanks :).
Hello.
You can add a placement condition that checks if any block next to it is solid.
I hope this helps.
Correction: you need to add a "NOT" block between the "if" and leftmost "OR" block.
Otherwise, it will ONLY work if there's a solid block next to it.
Thank you very much, Yes this helps. and i have problems with a block generation process, I want this shape for it, but the blocks dont generate next to each other (with 1 block air between the blocks)
i found for my problem the solution -> Is get block at XYZ same as "BLOCK". Place air dont work at blockgeneration or i make something wrong, i use this at plant generation too.
Okay i found my mistakes it was " the structure" your way works great or with the "is get block at XYZ", but it dont works for ore generation, i want this plant too as a block. How i can set it up like this for ore generation? I want 1 air block between the ores.