Need help making trees only spawn on a certain block.

Started by CharlyMan on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help making trees only spawn on a certain block.

I've added new tree structures into my mod but they're spawning in water. I only want them to spawn on a grass block so that way they can't spawn in deserts or the ocean. I can't find out how to make an additional generation condition procedure. Can someone send me a working procedure for this so I can learn how to do these in the future. Thank you. 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in case you don't want to…
Sun, 07/17/2022 - 02:41

in case you don't want to place all of them then just switch out the 'first structure block' for air and structure block' to be ignored while placing it is the 5th option

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The other problem is that I…
Fri, 07/22/2022 - 22:52

The other problem is that I already had this setting on when the error accured.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm an idiot, I forgot to…
Fri, 07/22/2022 - 23:00

I'm an idiot, I forgot to put the setting on the big trees