Mojira Archive
MC-277862

Processor not replacing blocks in water with spruce planks

Hello, I am working with custom processors and custom generation structures.
I made my own village with many pieces but the streets that generate don't place spruce planks when I specifically want it to when block is replaced.

My custom processor named: "str:street_rep"

{
    "processors": [
        {
            "processor_type": "rule",
            "rules": [
                {
                    "input_predicate": {
                        "predicate_type": "block_match",
                        "block": "water"
                    },
                    "location_predicate": {
                        "block": "minecraft:water",
                        "predicate_type": "minecraft:block_match"
                    },
                    "output_state": {
                        "Name": "minecraft:spruce_planks"
                    }
                }
            ]
        }
    ]
}



(STRUCTURE WAS AUTO GENERATED)
Streets fail to place down wooden planks in place of the water!


(THIS STRUCTURE WAS PLACED WITH /place)

As you can see in normal vanilla generation the blocks are replaced correctly!

This is my template pool for my streets:

{
    "name": "str:village_plains/plots",
    "fallback": "empty",
    "elements": [
        {
            "element": {
                "element_type": "single_pool_element",
                "location": "str:village_plains/streets/straight",
                "processors": "str:street_rep",
                "projection": "terrain_matching"
            },
            "weight": 25
        },
        {
            "element": {
                "element_type": "single_pool_element",
                "location": "str:village_plains/streets/turn",
                "processors": "str:street_rep",
                "projection": "terrain_matching"
            },
            "weight": 18
        },
        {
            "element": {
                "element_type": "single_pool_element",
                "location": "str:village_plains/streets/t",
                "processors": "str:street_rep",
                "projection": "terrain_matching"
            },
            "weight": 14
        },
        {
            "element": {
                "element_type": "single_pool_element",
                "location": "str:village_plains/streets/cross",
                "processors": "str:street_rep",
                "projection": "terrain_matching"
            },
            "weight": 5
        }
    ]
}

Why does it not work?????

Invalid

ArsiTheFox

2024-10-26, 08:09 AM

2024-10-27, 07:25 PM

2024-10-27, 07:25 PM

0

1

Unconfirmed

(Unassigned)

1.21.3

-