{
  "criteria": {
    "machine": {
      "conditions": {
        "items": [
       {
            "items": [
              "woodenbucket:wooden_bucket"
            ],
            "nbt": "{\"Fluid\":{\"Amount\":1000,\"FluidName\":\"minecraft:lava\"}}"
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancements.story.mine_diamond.description"
    },
    "frame": "task",
    "hidden": false,
    "icon": {
      "item": "custommachinery:custom_machine_item"
    },
    "show_toast": true,
    "title": "Lava Bucket"
  },
  "requirements": [
    [
      "machine"
    ]
  ]
}