Prevent structures from floating.

Started by MarioRD on

Topic category: Help with modding (Java Edition)

Last seen on 22:07, 25. Mar 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Prevent structures from floating.

Hi!, im trying to create a mod that generates structures all around the world, but my problem is that some parts of the structure float (and that looks terrible D:), so, i've been thinking on a procedure to prevent this from happen, i came up with and idea, however i could not develop it (thats is why im asking for help). The idea is that, before the structure is generated, it is checked if there is a 15x15 area (x and z, and solid blocks), if it exists, spawns, if not, it does not.

any help plz? :D

Last seen on 22:07, 25. Mar 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please :`)
Sat, 10/24/2020 - 18:04

please :`)

Last seen on 14:14, 19. Jun 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did u tried to realize your…
Mon, 10/26/2020 - 14:37

Did u tried to realize your idea?

Last seen on 22:07, 25. Mar 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, but it did not work
Tue, 10/27/2020 - 23:31

Yes, but it did not work