{
  "processors": [
    {
      "processor_type": "minecraft:rule",
      "rules": [
        {
          "location_predicate": {
            "predicate_type": "minecraft:always_true"
          },
          "input_predicate": {
            "predicate_type": "minecraft:random_block_match",
            "block": "minecraft:barrel",
            "probability": 0.25
          },
          "output_state": {
            "Name": "minecraft:hay_block"
          }
        }
      ]
    },
    {
      "processor_type": "dungeonnowloading:weighted_list_processor",
      "input_block": "minecraft:red_carpet",
      "weighted_list_of_replacement_blocks": [
        {
          "blockstate" : {
            "Name": "minecraft:air"
          },
          "weight": 100
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:cobblestone_pebbles",
            "Properties": {
              "pile": "1"
            }
          },
          "weight": 4
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:cobblestone_pebbles",
            "Properties": {
              "pile": "2"
            }
          },
          "weight": 3
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:cobblestone_pebbles",
            "Properties": {
              "pile": "3"
            }
          },
          "weight": 2
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:cobblestone_pebbles",
            "Properties": {
              "pile": "4"
            }
          },
          "weight": 1
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:mossy_cobblestone_pebbles",
            "Properties": {
              "pile": "1"
            }
          },
          "weight": 4
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:mossy_cobblestone_pebbles",
            "Properties": {
              "pile": "2"
            }
          },
          "weight": 3
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:mossy_cobblestone_pebbles",
            "Properties": {
              "pile": "3"
            }
          },
          "weight": 2
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:mossy_cobblestone_pebbles",
            "Properties": {
              "pile": "4"
            }
          },
          "weight": 1
        },
        {
          "blockstate" : {
            "Name": "minecraft:spruce_leaves",
            "Properties": {
              "persistent": "true",
              "distance": "7"
            }
          },
          "weight": 20
        },
        {
          "blockstate" : {
            "Name": "minecraft:lantern"
          },
          "weight": 5
        },
        {
          "blockstate" : {
            "Name": "minecraft:spruce_pressure_plate"
          },
          "weight": 20
        },
        {
          "blockstate" : {
            "Name": "dungeonnowloading:explosive_barrel"
          },
          "weight": 20
        }
      ]
    },
    {
      "processor_type": "dungeonnowloading:waterlogging_fix_processor"
    }
  ]
}
