{
  "credit": "made by shulker",
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:display_context",
    "cases": [
      {
        "when": ["gui", "ground", "fixed", "on_shelf"],
        "model": {
          "type": "minecraft:range_dispatch",
          "property": "minecraft:damage",
          "entries": [
            { "threshold": 0.50, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_0" } },
            { "threshold": 0.75, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_1" } },
            { "threshold": 0.85, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_2" } }
          ],
          "fallback": { "type": "minecraft:model", "model": "minecraft:item/stone_spear" }
        }
      }
    ],
    "fallback": {
      "type": "minecraft:range_dispatch",
      "property": "minecraft:damage",
      "entries": [
        { "threshold": 0.50, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_in_hand_0" } },
        { "threshold": 0.75, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_in_hand_1" } },
        { "threshold": 0.85, "model": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_in_hand_2" } }
      ],
      "fallback": { "type": "minecraft:model", "model": "minecraft:item/stone_spear_in_hand" }
    }
  },
  "swap_animation_scale": 1.95
}