How to stop structures spawning in water

Started by FrancisDust on Fri, 03/03/2023 - 17:40

Topic category: Help with modding (Java Edition)

Last seen on 08:00, 27. May 2023
Joined Feb 2023

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop structures spawning in water
Fri, 03/03/2023 - 17:40

Hey guys, I have been working on adding palm trees to minecraft. But they keep spawning underwater and I don't understand how I would be able to stop this. I can't just use that command that restricts the blocks of where the tree can spawn at because both the desert and underwater use sand blocks.