How to make My Plant Structure not Collide with other Structure?

Started by pigmanmovie pylo on Mon, 09/13/2021 - 13:02

Topic category: Help with modding (Java Edition)

Last seen on 15:04, 19. Sep 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make My Plant Structure not Collide with other Structure?
Mon, 09/13/2021 - 13:02

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.

 

Last seen on 00:03, 21. Sep 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 00:03, 21. Sep 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 15:04, 19. Sep 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

 

Last seen on 17:34, 20. Sep 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use condition
Wed, 09/15/2021 - 13:28

Use condition