mojira.dev
MC-264622

Processor list doesn't work when jigsaw is on the same layer as blocks transforming with "terrain_matching" projection

The bug:

If a processor list that changes blocks generating on water is used in a template pool with the "terrain_matching" projection, the processor list will only work if the jigsaw block is not on the same layer as the blocks that are changing. It works if it's generated with the start pool of a structure, but not if it's generated from a template pool from jigsaw blocks.

If the projection is "rigid" the processor list works even if the jigsaw block is on the same layer as the other blocks for every structure.

In the embedded datapack, stone blocks will turn into oak planks if it generates on water and cobblestone will turn into mangrove planks. What block a jigsaw block turns into doesn't matter.

How to reproduce:

  • With the embedded datapack enabled in a world, type: 

    /place structure test:test_structure_terrain_matching

    when over a body of water.

  • If the jigsaw blocks are on the same layer as the other blocks, the processor list will only work on the structure generated from the start pool.

  • If the jigsaw blocks are not on the same layer as the other blocks, the processor list will also work for structures generated from jigsaw template pools

  • If you type: 

    /place structure test:test_structure_rigid

    when over a body of water it doesn't matter where the jigsaw blocks are placed, the processor list will work for the jigsaw template pools.

Attachments

Comments 1

Can confirm.

Analysis:
The gravity processor of terrain_matching is applied after the processor list, which makes processors like minecraft:rule, minecraft:protected_blocks do not work correctly.

Expected behavior:
The gravity processor of terrain_matching is applied before the custom processor list.

Temporary workaround:
Add another "minecraft:gravity" processor before other processors in your processor list in your data pack.

ohult12

(Unassigned)

Community Consensus

Platform

Normal

Data Packs, Structures

world-generation

1.20.1

Retrieved