{
  "display": {
    "icon": {
      "item": "nec:java_block"
    },
    "title": {
      "translate": "advancements.nec.java_block.title"
    },
    "description": {
      "translate": "advancements.nec.java_block.description"
    },
    "frame": "task",
    "show_toast": true,
    "annouce_to_chat": true
  },
  "parent": "nec:pocket_block",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": [
              "nec:java_block"
            ]
          }
        ]
      }
    }
  }
}