mojira.dev
MC-306398

Custom jigsaw fallback structures fail to generate

When making a custom jigsaw structure, one of the fallback structures fails about half the time and two of the other fallback structures fail 100% of the time. There are no errors or warnings in the logs when generating.

Steps to recreate:

  1. Download and apply provided datapack in a 1.21.11 world.

  2. Place a horizontal jigsaw block with “kirby:amethyst_keep” as the target pool, “kirby:cavern_keep” as the target name, with the levels set to at least 10 and jigsaws turned on. (I haven’t tested with lower number levels).

  3. Generate and notice where there are dead end jigsaw blocks.

In the picture with the circles, the blue circle is where a fallback structure generates some of the time while the red circles are where fallback structures never generate. The picture without the circles is what it should be. (I placed the missing structures manually).

Attachments

Comments 4

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

The issue you are talking about is not an issue, it works as intended. Fallback pool ignores only size parameter, while you don`t take max_distance_from_center parameter into account, which is always max value (128) for jigsaw ui. Your fallback tries to generate further than that value and thats why it fails.

So jigsaws just aren't made for large, sprawling structures and, no matter what I do, this issue will still occur because it’s not actually a bug at all?

The maximum size of the structure can be 257x257 blocks, when max_distance_from_center is set to its max value, which is 128.

Daniel Kirby

(Unassigned)

Confirmed

Platform

Low

Data Packs, Structures

1.21.11

Retrieved