The only thing I can think of is if you set it to only generate replacing cave air, and set the generation height at the level of caves. It would generate on cave floors, and I think cave ceilings too.
You can use conditions for that i think. Like "Spawn the plant if (get block at x (y + 1) z) is a solid block). And you should also check if the current position where the plant is going to generate (get block at x y z = cave air). If you do this i think the plant shouldn't be able to generate anywhere except in caves, and because of the "y+1 is a solid block", that means that it can only generate in the bottom of a block, this usually is the ceiling of the cave, but it can generate in anywhere even with 1 air space. Also i don't think you should use the plant block element, if you do then when the plant spawns, it will be broken cause it doesn't have a solid block to stand on. Create a normal block using the Cross model and that will be fixed. Hope it helped
The only thing I can think of is if you set it to only generate replacing cave air, and set the generation height at the level of caves. It would generate on cave floors, and I think cave ceilings too.
You can use conditions for that i think. Like "Spawn the plant if (get block at x (y + 1) z) is a solid block). And you should also check if the current position where the plant is going to generate (get block at x y z = cave air). If you do this i think the plant shouldn't be able to generate anywhere except in caves, and because of the "y+1 is a solid block", that means that it can only generate in the bottom of a block, this usually is the ceiling of the cave, but it can generate in anywhere even with 1 air space. Also i don't think you should use the plant block element, if you do then when the plant spawns, it will be broken cause it doesn't have a solid block to stand on. Create a normal block using the Cross model and that will be fixed. Hope it helped