{
  "display": {
    "icon": {
      "id": "minecraft:barrel",
      "components": {
        "minecraft:enchantment_glint_override": true
      }
    },
    "title": "Crates",
    "description": "Crates have a chance to drop from fishing",
    "show_toast": false,
    "announce_to_chat": false,
    "hidden": true
  },
  "parent": "survivalplus:tips/fishing",
  "criteria": {
    "crate_tip": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": [
              "minecraft:barrel"
            ],
            "components": {
              "minecraft:enchantment_glint_override": true
            }
          }
        ]
      }
    }
  }
}