Structures are broken into pieces when generated

Started by ItsChris59 on

Topic category: Troubleshooting, bugs, and solutions

Active 2 years ago
Joined Oct 2021
Points:
538

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Structures are broken into pieces when generated

Note this happens for two of the mods I work on.

Whenever I make a structure and have it generated into the world, there's a high chance that it generates chopped up into pieces.

Is there a way to fix this or is it a rare bug that only Mcreator devs can fix?

Screenshots Below

________________________________________________________________________________________________________________________________________________

Example of Broken Structure

 

Values of the structure shown above

Active 3 weeks ago
Joined Sep 2020
Points:
1227

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 774
When a structure is bigger…
Thu, 03/03/2022 - 09:29

When a structure is bigger than a chunk (16×16) Minecraft dont generate propely structures. To solve this you to use jigsaw block or a fake air block that spawns the entire structure 

Active 10 months ago
Joined Dec 2020
Points:
1158

User statistics:

  • Modifications: 2
  • Forum topics: 28
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 819
I recommend this topic:…
Thu, 03/03/2022 - 09:41

I recommend this topic: https://mcreator.net/forum/77905/need-help-how-do-i-prevent-structures-being-cut-hear-me-out

It has several ways to avoid cutting the structure off. I personally use Chewdog's way of doing that, via placeholder entity that spawns the structure if player is on specific distance. It makes the structure 100%-proof for cuts.
You may also use placeholder block, but it is less convenient to use due to lack of some useful properties (it uses only random tick which is main disadvantage of it).

Active 1 day ago
Joined May 2021
Points:
828

User statistics:

  • Modifications: 4
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 353
As Toma400 said, here is…
Tue, 03/08/2022 - 23:37

As Toma400 said, here is Chewdog's video/tutorial.  https://www.youtube.com/watch?v=-hWH56omnq8  The *.ptpl is included in the description. I followed his tutorial and modified the procedure for my needs. This was the end result, naturally generated, and without issues. 

 

Hope it helps.

Active 2 years ago
Joined Oct 2021
Points:
538

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Thanks for all the help guys…
Sun, 04/03/2022 - 20:32

Thanks for all the help guys it worked! (sorry for the late response)

Active 1 year ago
Joined Jan 2023
Points:
286

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
hello! I heard that you…
Fri, 01/20/2023 - 13:35

hello! I heard that you fixed your problem, I created this structure and when I make a new game, whenever it's generated it is always in half or broken to pieces, do you know please how to fix it? and thank you!