{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": [
          "firstperson_righthand",
          "firstperson_lefthand"
        ],
        "model": {
          "type": "minecraft:select",
          "property": "minecraft:custom_model_data",
          "index": 0,
          "cases": [
            {
              "when": "rite_of_fortune",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/ocean/rite_of_fortune/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/ocean/rite_of_fortune/front"
                }
              }
            },
            {
              "when": "rain_dance",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/ocean/rain_dance/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/ocean/rain_dance/front"
                }
              }
            },
            {
              "when": "charm_of_butchery",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/ocean/charm_of_butchery/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/ocean/charm_of_butchery/front"
                }
              }
            },
            {
              "when": "morph_steed",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/ocean/morph_steed/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/ocean/morph_steed/front"
                }
              }
            },
            {
              "when": "conjure_beasts",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/rocky_waters/conjure_beasts/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/rocky_waters/conjure_beasts/front"
                }
              }
            },
            {
              "when": "divine_gift",
              "model": {
                "type": "minecraft:select",
                "property": "minecraft:custom_model_data",
                "index": 1,
                "cases": [
                  {
                    "when": "back",
                    "model": {
                      "type": "minecraft:model",
                      "model": "fathoms:item/sunken_scrawl/rocky_waters/divine_gift/back"
                    }
                  }
                ],
                "fallback": {
                  "type": "minecraft:model",
                  "model": "fathoms:item/sunken_scrawl/rocky_waters/divine_gift/front"
                }
              }
            }
          ]
        }
      }
    ],
    "fallback": {
      "type": "minecraft:model",
      "model": "fathoms:item/sunken_scrawl"
    }
  }
}