Partially Floating Structures

Started by RosyWindFox on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Partially Floating Structures

It's not a super in depth problem so I'll make this quick.

I made a variety of structures but, sometimes they spawn half on land and half floating, how do I make it so they only spawn when there is land under all of it or about 90% of it.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just ignore all these if you…
Sat, 07/25/2020 - 18:38

Just ignore all these if you figure out a better way in 2020.4 like Klemen said

How large (x and z wise) are they? They're probably hitting only one original block when trying to spawn and stretching out sideways from there. To fix this you could either:

1. Test for more blocks in the "on structure instance generated" procedure and remove the structure if there are not enough blocks around it. (you might need to make the structure more common if you do this)

2. Do the same as "1." but fill those air blocks with dirt or something rather than destroy the structure.

2. Split your structure up and only generate the extra parts if there are blocks where it is supposed to go (also in the same procedure).

3. Include blocks underneath and around the outside of your structure.

4. A mix of the above.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawn a structure the same…
Sat, 07/25/2020 - 19:47

Spawn a structure the same size with air blocks where the solid blocks were before.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
("place structure at x, y, z…
Sat, 07/25/2020 - 23:33

("place structure at x, y, z" in the "world management" procedure tab, btw)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem. :)
Mon, 07/27/2020 - 07:16

No problem. :)

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I have the same problem,…
Sat, 09/05/2020 - 00:57

Hi, I have the same problem, I would Like a clear screenshot of the code required to fix the problem, Thanks :)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you could post the code…
Sun, 03/27/2022 - 10:34

If you could post the code with better resolution it would be appreciated :D