{
  "parent": "nucleus:root",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:item_used_on_block",
      "conditions": {
        "location": [
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "block": {
                "blocks": [
                  "minecraft:barrel"
                ]
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "nucleus:block/barrel/raycast_start"
  },
  "requirements": [
    [
      "requirement"
    ]
  ]
}
