Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277862

Processor not replacing blocks in water with spruce planks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.3
    • None
    • Unconfirmed
    • (Unassigned)

      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?????

        1. 2024-10-26_02.52.42.png
          3.66 MB
          ArsiTheFox
        2. 2024-10-26_02.58.24.png
          4.90 MB
          ArsiTheFox
        3. 2024-10-26_03.05.24.png
          3.89 MB
          ArsiTheFox

            Unassigned Unassigned
            ArsiTheFox ArsiTheFox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: