{
  "criteria": {
    "place_block": {
      "trigger": "minecraft:item_used_on_block",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": "this",
              "score": "OverlyRealistic.Player.UsedChickenSpawn"
            },
            "range": {
              "min": 1
            }
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "place_block"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:general/custom_blocks/tanning_rack/player_place_tanning_rack"
  }
}