{
  "model": {
    "type": "minecraft:condition",
    "property": "minecraft:has_component",
    "component": "minecraft:enchantments",
    "ignore_default": true,
    "on_true": {
      "type": "minecraft:select",
      "property": "minecraft:display_context",
      "cases": [
        {
          "when": [
            "gui",
            "ground",
            "fixed"
          ],
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/trident"
          }
        }
      ],
      "fallback": {
        "type": "minecraft:condition",
        "property": "minecraft:using_item",
        "on_true": {
          "type": "minecraft:composite",
          "models": [
            {
              "type": "minecraft:special",
              "model": {
                "type": "minecraft:trident"
              },
              "base": "minecraft:item/trident_throwing"
            },
            {
              "type": "minecraft:model",
              "model": "minecraft:item/enchanted_trident_throwing"
            }
          ]
        },
        "on_false": {
          "type": "minecraft:composite",
          "models": [
            {
              "type": "minecraft:special",
              "model": {
                "type": "minecraft:trident"
              },
              "base": "minecraft:item/trident_in_hand"
            },
            {
              "type": "minecraft:model",
              "model": "minecraft:item/enchanted_trident_in_hand"
            }
          ]
        }
      }
    },
    "on_false": {
      "type": "minecraft:select",
      "property": "minecraft:display_context",
      "cases": [
        {
          "when": [
            "fixed",
            "ground",
            "gui"
          ],
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/trident"
          }
        }
      ],
      "fallback": {
        "type": "minecraft:condition",
        "property": "minecraft:using_item",
        "on_true": {
          "type": "minecraft:special",
          "model": {
            "type": "minecraft:trident"
          },
          "base": "minecraft:item/trident_throwing"
        },
        "on_false": {
          "type": "minecraft:special",
          "model": {
            "type": "minecraft:trident"
          },
          "base": "minecraft:item/trident_in_hand"
        }
      }
    }
  }
}