{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": [
            "minecraft:cake"
          ],
          "state": {
            "bites": "0"
          }
        }
      }
    },   

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:red_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:orange_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:yellow_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:lime_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:green_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:cyan_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:light_blue_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:blue_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:purple_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:magenta_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:pink_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:white_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:light_gray_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:gray_candle_cake"]
        }
      }
    },

 {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:black_candle_cake"]
        }
      }
    },

    {
      "condition": "minecraft:location_check",
      "predicate": {
        "block": {
          "blocks": ["minecraft:brown_candle_cake"]
        }
      }
    }
  ]
}
