How to make My Plant Structure not Collide with other Structure? (SOLVED)

Started by pigmanmovie pylo on

Topic category: Help with modding (Java Edition)

Last seen on 13:27, 18. Apr 2024
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make My Plant Structure not Collide with other Structure? (SOLVED)
Mon, 09/27/2021 - 14:41 (edited)

I've been struggling to make My Plant Structure not collide with other
structure like Villages.


Here's My procedure (placed on additional generation procedure) Note: I have 2 of Them, one of Them is generic and the other is used for it to not generate beside a cactus, and it seems to work for the most part.

 

Edited by pigmanmovie pylo on Mon, 09/27/2021 - 14:41
Last seen on 15:00, 17. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I believe if you change all…
Mon, 09/13/2021 - 19:44

I believe if you change all of the AND Logic to OR Logic it will work, im not too good with returns and conditions just yet, but that is the only thing I can consider.

Last seen on 15:00, 17. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
- If that doesn't work it…
Mon, 09/13/2021 - 19:45

- If that doesn't work it could also be because it is checking whether or not the block above it is not solid, rather than the block it should be spawning on.

Last seen on 13:27, 18. Apr 2024
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, the Cactus one work fine…
Tue, 09/14/2021 - 13:50

Oh, the Cactus one work fine, however The Procedure that check if there's block above it to avoid
collision with villages doesn't seem to work (I don't know why it didn't collide with a tree tho), is there another way for the structure to not generate while there's a block on top of it?
Or it's the same procedure that I did but I messed up something?