{
    "model": {
      "type": "minecraft:select",
      "property": "minecraft:display_context",
      "cases": [
        {
          "when": [
            "firstperson_righthand",
            "firstperson_lefthand",
            "thirdperson_righthand",
            "thirdperson_lefthand",
            "gui",
            "head",
            "ground",
            "fixed"
          ],
          "model": {
            "type": "minecraft:model",
            "model": "fathoms:item/dredging_apparatus"
          }
        }
      ],
      "fallback": {
        "type": "minecraft:composite",
        "models": [
          {
            "type": "minecraft:select",
            "property": "minecraft:custom_model_data",
            "index": 1,
            "cases": [
              {
                "when": "minecraft:raw_iron_block",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/raw_iron_block"
                }
              },
              {
                "when": "minecraft:raw_copper_block",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/raw_copper_block"
                }
              },
              {
                "when": "minecraft:raw_gold_block",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/raw_gold_block"
                }
              },
              {
                "when": "minecraft:coal_block",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/coal_block"
                }
              },
              {
                "when": "minecraft:coarse_dirt",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/coarse_dirt"
                }
              },
              {
                "when": "minecraft:gravel",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/gravel"
                }
              },
              {
                "when": "pylon",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/pylon"
                }
              },
              {
                "when": "lockbox",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/lockbox"
                }
              },
              {
                "when": "rugged_aberration_idol",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/aberration_idol/rugged"
                }
              },
              {
                "when": "crumbly_aberration_idol",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/contents/aberration_idol/crumbly"
                }
              }
            ],
            "fallback": {
              "type": "minecraft:empty"
            }
          },
          {
            "type": "minecraft:range_dispatch",
            "property": "minecraft:custom_model_data",
            "index": 0,
            "scale": 1,
            "entries": [
              {
                "threshold": 0,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/0"
                }
              },
              {
                "threshold": 0.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/1"
                }
              },
              {
                "threshold": 1,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/2"
                }
              },
              {
                "threshold": 1.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/3"
                }
              },
              {
                "threshold": 2,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/4"
                }
              },
              {
                "threshold": 2.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/5"
                }
              },
              {
                "threshold": 3,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/6"
                }
              },
              {
                "threshold": 3.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/7"
                }
              },
              {
                "threshold": 4,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/8"
                }
              },
              {
                "threshold": 4.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/9"
                }
              },
              {
                "threshold": 5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/10"
                }
              },
              {
                "threshold": 5.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/11"
                }
              },
              {
                "threshold": 6,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/12"
                }
              },
              {
                "threshold": 6.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/13"
                }
              },
              {
                "threshold": 7,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/14"
                }
              },
              {
                "threshold": 7.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/15"
                }
              },
              {
                "threshold": 8,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/16"
                }
              },
              {
                "threshold": 8.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/17"
                }
              },
              {
                "threshold": 9,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/18"
                }
              },
              {
                "threshold": 9.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/19"
                }
              },
              {
                "threshold": 10,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/20"
                }
              },
              {
                "threshold": 10.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/21"
                }
              },
              {
                "threshold": 11,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/22"
                }
              },
              {
                "threshold": 11.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/23"
                }
              },
              {
                "threshold": 12,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/24"
                }
              },
              {
                "threshold": 12.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/25"
                }
              },
              {
                "threshold": 13,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/26"
                }
              },
              {
                "threshold": 13.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/27"
                }
              },
              {
                "threshold": 14,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/28"
                }
              },
              {
                "threshold": 14.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/29"
                }
              },
              {
                "threshold": 15,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/30"
                }
              },
              {
                "threshold": 15.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/31"
                }
              },
              {
                "threshold": 16,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/32"
                }
              },
              {
                "threshold": 16.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/33"
                }
              },
              {
                "threshold": 17,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/34"
                }
              },
              {
                "threshold": 17.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/35"
                }
              },
              {
                "threshold": 18,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/36"
                }
              },
              {
                "threshold": 18.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/37"
                }
              },
              {
                "threshold": 19,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/38"
                }
              },
              {
                "threshold": 19.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/39"
                }
              },
              {
                "threshold": 20,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/40"
                }
              },
              {
                "threshold": 20.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/41"
                }
              },
              {
                "threshold": 21,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/42"
                }
              },
              {
                "threshold": 21.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/43"
                }
              },
              {
                "threshold": 22,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/44"
                }
              },
              {
                "threshold": 22.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/45"
                }
              },
              {
                "threshold": 23,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/46"
                }
              },
              {
                "threshold": 23.5,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/47"
                }
              },
              {
                "threshold": 24,
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/crane/48"
                }
              }
            ],
            "fallback": {
              "type": "minecraft:empty"
            }
          },
          {
            "type": "minecraft:select",
            "property": "minecraft:custom_model_data",
            "index": 0,
            "cases": [
              {
                "when": "holding",
                "model": {
                  "type": "minecraft:model",
                  "model": "fathoms:block/dredging_apparatus/claw/holding"
                }
              }
            ],
            "fallback": {
              "type": "minecraft:model",
              "model": "fathoms:block/dredging_apparatus/claw/default"
            }
          }
        ]
      }
    }
  }