{
  "model": {
    "type": "minecraft:composite",
    "models": [
      {
        "type": "minecraft:select",
        "property": "minecraft:custom_model_data",
        "index": 3,
        "cases": [
          {
            "when": "discharging",
            "model": {
              "type": "minecraft:select",
              "property": "minecraft:custom_model_data",
              "index": 0,
              "cases": [
                {
                  "when": "hurt",
                  "model": {
                    "type": "minecraft:model",
                    "model": "fathoms:entity/man_o_war/hurt/discharging"
                  }
                }
              ],
              "fallback": {
                "type": "minecraft:model",
                "model": "fathoms:entity/man_o_war/default/discharging"
              }
            }
          },
          {
            "when": "beached",
            "model": {
              "type": "minecraft:select",
              "property": "minecraft:custom_model_data",
              "index": 0,
              "cases": [
                {
                  "when": "hurt",
                  "model": {
                    "type": "minecraft:model",
                    "model": "fathoms:entity/man_o_war/hurt/beached"
                  }
                }
              ],
              "fallback": {
                "type": "minecraft:model",
                "model": "fathoms:entity/man_o_war/default/beached"
              }
            }
          }
        ],
        "fallback": {
          "type": "minecraft:select",
          "property": "minecraft:custom_model_data",
          "index": 0,
          "cases": [
            {
              "when": "hurt",
              "model": {
                "type": "minecraft:model",
                "model": "fathoms:entity/man_o_war/hurt/default"
              }
            }
          ],
          "fallback": {
            "type": "minecraft:model",
            "model": "fathoms:entity/man_o_war/default/default"
          }
        }
      }
    ]
  }
}