mojira.dev
MC-308792

Log spam in structures with specific processor setups

This is a bit convoluted of an issue but I hope the point gets across. In certain setups, processor lists can spam the log file thousands and thousands of times about trying to query a block outside of the 3x3 chunk area. This only began in 26.2-snap-6, and did not occur on previous snapshots or versions.

To replicate this, you need the following:

  • A structure with a piece that extends outside the 3x3 chunk area. A structure with a 33x33 piece will always in at least one chunk have parts that extend outside the 3x3 limit.

  • The piece uses a processor list with a capped processor. The actual contents of the processor are irrelevant, the capped processor just forces the processor list to process every single block in the piece every chunk.

  • The piece uses a processor list with a rule processor with a location_predicate that is anything except always_true.

This is a fairly rare setup but not unreasonable to create when making custom structures.

Steps to Reproduce

Download and install the i am error.zip datapack on a world. Run /locate structure i_am_error:test and teleport to the structure. You should get ~1200-1300 errors in the logs.

Attachments

Comments 2

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

[media][media]

Can confirm for 26.2
Also affects the vanilla ancient city, so this issue affects not just custom structures.

ancient city error.png

Apollo

(Unassigned)

Confirmed

Gameplay

Important

World generation

26.2 Release Candidate 2

Retrieved