{
  "condition": "minecraft:alternative",
  "terms": [
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:0b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:1b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:5b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:6b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:7b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:8b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:9b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:10b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:14b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:15b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:17b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:18b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:19b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:23b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:24b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:25b}]}"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:barrel"],
          "nbt": "{Items:[{Slot:26b}]}"
        }
      }
    }
  ]
}