{
  "parent": "twilightforest:beanstalk",
  "criteria": {
    "giant": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "twilightforest:giant_miner"
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    },
    "pickaxe": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:magic_beans"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancement.twilightforest.giants.desc",
      "with": [
        {
          "translate": "entity.twilightforest.giant_miner"
        },
        {
          "translate": "item.twilightforest.giant_pickaxe"
        }
      ]
    },
    "frame": "goal",
    "hidden": false,
    "icon": {
      "item": "twilightforest:giant_pickaxe",
      "nbt": "{Damage:0}"
    },
    "show_toast": true,
    "title": {
      "translate": "advancement.twilightforest.giants"
    }
  },
  "requirements": [
    [
      "giant"
    ],
    [
      "pickaxe"
    ]
  ]
}