{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": [
          "firstperson_lefthand",
          "firstperson_righthand",
          "thirdperson_lefthand",
          "thirdperson_righthand"
        ],
        "model": {
          "type": "minecraft:range_dispatch",
          "property": "minecraft:compass",
          "target": "recovery",
          "scale": 32,
          "entries": [
            { "threshold": 0, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_00" } },
            { "threshold": 0.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_01" } },
            { "threshold": 1.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_02" } },
            { "threshold": 2.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_03" } },
            { "threshold": 3.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_04" } },
            { "threshold": 4.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_05" } },
            { "threshold": 5.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_06" } },
            { "threshold": 6.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_07" } },
            { "threshold": 7.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_08" } },
            { "threshold": 8.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_09" } },
            { "threshold": 9.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_10" } },
            { "threshold": 10.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_11" } },
            { "threshold": 11.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_12" } },
            { "threshold": 12.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_13" } },
            { "threshold": 13.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_14" } },
            { "threshold": 14.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_15" } },
            { "threshold": 15.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_16" } },
            { "threshold": 16.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_17" } },
            { "threshold": 17.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_18" } },
            { "threshold": 18.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_19" } },
            { "threshold": 19.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_20" } },
            { "threshold": 20.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_21" } },
            { "threshold": 21.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_22" } },
            { "threshold": 22.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_23" } },
            { "threshold": 23.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_24" } },
            { "threshold": 24.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_25" } },
            { "threshold": 25.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_26" } },
            { "threshold": 26.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_27" } },
            { "threshold": 27.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_28" } },
            { "threshold": 28.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_29" } },
            { "threshold": 29.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_30" } },
            { "threshold": 30.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_31" } },
            { "threshold": 31.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_hand_00" } }
          ]
        }
      }
    ],
    "fallback": {
      "type": "minecraft:range_dispatch",
      "property": "minecraft:compass",
      "target": "recovery",
      "scale": 32,
      "entries": [
        { "threshold": 0, "model": { "type": "minecraft:model", "model": "item/recovery_compass_00" } },
        { "threshold": 0.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_01" } },
        { "threshold": 1.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_02" } },
        { "threshold": 2.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_03" } },
        { "threshold": 3.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_04" } },
        { "threshold": 4.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_05" } },
        { "threshold": 5.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_06" } },
        { "threshold": 6.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_07" } },
        { "threshold": 7.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_08" } },
        { "threshold": 8.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_09" } },
        { "threshold": 9.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_10" } },
        { "threshold": 10.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_11" } },
        { "threshold": 11.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_12" } },
        { "threshold": 12.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_13" } },
        { "threshold": 13.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_14" } },
        { "threshold": 14.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_15" } },
        { "threshold": 15.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_16" } },
        { "threshold": 16.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_17" } },
        { "threshold": 17.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_18" } },
        { "threshold": 18.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_19" } },
        { "threshold": 19.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_20" } },
        { "threshold": 20.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_21" } },
        { "threshold": 21.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_22" } },
        { "threshold": 22.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_23" } },
        { "threshold": 23.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_24" } },
        { "threshold": 24.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_25" } },
        { "threshold": 25.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_26" } },
        { "threshold": 26.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_27" } },
        { "threshold": 27.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_28" } },
        { "threshold": 28.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_29" } },
        { "threshold": 29.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_30" } },
        { "threshold": 30.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_31" } },
        { "threshold": 31.5, "model": { "type": "minecraft:model", "model": "item/recovery_compass_00" } }
      ]
    }
  }
}