Having Plant Spawn on Custom Sand

Started by CreeperMinion on

Topic category: Help with modding (Java Edition)

Last seen on 04:00, 4. Sep 2023
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Having Plant Spawn on Custom Sand

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

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can set your plant to…
Wed, 10/14/2020 - 04:41

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.

Last seen on 04:00, 4. Sep 2023
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay thanks, it works except…
Thu, 10/15/2020 - 03:33

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.