{
  "model": {
    "type": "minecraft:condition",
    "component": "minecraft:lodestone_tracker",
    "on_false": {
      "type": "minecraft:select",
      "cases": [
        {
          "model": {
            "type": "minecraft:range_dispatch",
            "entries": [
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_00"
                },
                "threshold": 0.0
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_01"
                },
                "threshold": 0.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_02"
                },
                "threshold": 1.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_03"
                },
                "threshold": 2.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_04"
                },
                "threshold": 3.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_05"
                },
                "threshold": 4.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_06"
                },
                "threshold": 5.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_07"
                },
                "threshold": 6.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_08"
                },
                "threshold": 7.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_09"
                },
                "threshold": 8.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_10"
                },
                "threshold": 9.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_11"
                },
                "threshold": 10.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_12"
                },
                "threshold": 11.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_13"
                },
                "threshold": 12.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_14"
                },
                "threshold": 13.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_15"
                },
                "threshold": 14.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_16"
                },
                "threshold": 15.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_17"
                },
                "threshold": 16.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_18"
                },
                "threshold": 17.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_19"
                },
                "threshold": 18.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_20"
                },
                "threshold": 19.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_21"
                },
                "threshold": 20.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_22"
                },
                "threshold": 21.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_23"
                },
                "threshold": 22.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_24"
                },
                "threshold": 23.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_25"
                },
                "threshold": 24.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_26"
                },
                "threshold": 25.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_27"
                },
                "threshold": 26.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_28"
                },
                "threshold": 27.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_29"
                },
                "threshold": 28.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_30"
                },
                "threshold": 29.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_31"
                },
                "threshold": 30.5
              },
              {
                "model": {
                  "type": "minecraft:model",
                  "model": "minecraft:item/_bdc/compass/compass_00"
                },
                "threshold": 31.5
              }
            ],
            "property": "minecraft:compass",
            "scale": 32.0,
            "target": "spawn"
          },
          "when": "minecraft:overworld"
        }
      ],
      "fallback": {
        "type": "minecraft:range_dispatch",
        "entries": [
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_00"
            },
            "threshold": 0.0
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_01"
            },
            "threshold": 0.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_02"
            },
            "threshold": 1.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_03"
            },
            "threshold": 2.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_04"
            },
            "threshold": 3.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_05"
            },
            "threshold": 4.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_06"
            },
            "threshold": 5.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_07"
            },
            "threshold": 6.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_08"
            },
            "threshold": 7.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_09"
            },
            "threshold": 8.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_10"
            },
            "threshold": 9.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_11"
            },
            "threshold": 10.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_12"
            },
            "threshold": 11.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_13"
            },
            "threshold": 12.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_14"
            },
            "threshold": 13.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_15"
            },
            "threshold": 14.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_16"
            },
            "threshold": 15.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_17"
            },
            "threshold": 16.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_18"
            },
            "threshold": 17.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_19"
            },
            "threshold": 18.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_20"
            },
            "threshold": 19.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_21"
            },
            "threshold": 20.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_22"
            },
            "threshold": 21.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_23"
            },
            "threshold": 22.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_24"
            },
            "threshold": 23.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_25"
            },
            "threshold": 24.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_26"
            },
            "threshold": 25.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_27"
            },
            "threshold": 26.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_28"
            },
            "threshold": 27.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_29"
            },
            "threshold": 28.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_30"
            },
            "threshold": 29.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_31"
            },
            "threshold": 30.5
          },
          {
            "model": {
              "type": "minecraft:model",
              "model": "minecraft:item/_bdc/compass/compass_00"
            },
            "threshold": 31.5
          }
        ],
        "property": "minecraft:compass",
        "scale": 32.0,
        "target": "none"
      },
      "property": "minecraft:context_dimension"
    },
    "on_true": {
      "type": "minecraft:range_dispatch",
      "entries": [
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_00"
          },
          "threshold": 0.0
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_01"
          },
          "threshold": 0.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_02"
          },
          "threshold": 1.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_03"
          },
          "threshold": 2.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_04"
          },
          "threshold": 3.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_05"
          },
          "threshold": 4.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_06"
          },
          "threshold": 5.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_07"
          },
          "threshold": 6.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_08"
          },
          "threshold": 7.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_09"
          },
          "threshold": 8.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_10"
          },
          "threshold": 9.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_11"
          },
          "threshold": 10.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_12"
          },
          "threshold": 11.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_13"
          },
          "threshold": 12.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_14"
          },
          "threshold": 13.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_15"
          },
          "threshold": 14.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_16"
          },
          "threshold": 15.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_17"
          },
          "threshold": 16.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_18"
          },
          "threshold": 17.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_19"
          },
          "threshold": 18.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_20"
          },
          "threshold": 19.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_21"
          },
          "threshold": 20.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_22"
          },
          "threshold": 21.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_23"
          },
          "threshold": 22.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_24"
          },
          "threshold": 23.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_25"
          },
          "threshold": 24.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_26"
          },
          "threshold": 25.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_27"
          },
          "threshold": 26.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_28"
          },
          "threshold": 27.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_29"
          },
          "threshold": 28.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_30"
          },
          "threshold": 29.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_31"
          },
          "threshold": 30.5
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/_bdc/compass/compass_00"
          },
          "threshold": 31.5
        }
      ],
      "property": "minecraft:compass",
      "scale": 32.0,
      "target": "lodestone"
    },
    "property": "minecraft:has_component"
  }
}
