Started by
CreeperMinion
on
Topic category: Help with Minecraft modding (Java Edition)
So essentially I'm working on a mod that has a desert dimension where all the sand is a custom "scorched sand" block and I want special cactus plants to spawn naturally on the sand but I don't want the sand to sustain life because I don't want you to be able to plant things like flowers on the sand. Any suggestions?
Cheers
You can set your plant to the Cave spawn setting (so it can grow on any block), set it to only grow in your biome ( so it only grows in your biome) <-- :D … then on the plants Update Tick, have the procedure check for your sand block at Y minus 1 (Y - 1) and any of the plants that are not in your biome and are not on your sand block, will pop and only your plant on your sand block will stay spawned in the world.
Okay thanks, it works except for when it spawns in for some reason the plants that have already been placed underground are not activating the tick procedure and stays placed on the stone.