{
  "criteria": {
    "lava_bucket": {
      "conditions": {
        "items": [
          {
            "items": "minecraft:water_bucket"
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    }
  },
  "requirements": [
    [
      "lava_bucket"
    ]
  ],
  "rewards": {
    "function": "backrooms:grabcheck/waterbucket"
  }
}