{
  "model": {
    "type": "minecraft:range_dispatch",
    "property": "minecraft:custom_model_data",
    "index": 0,
    "fallback": {
      "type": "minecraft:select",
      "cases": [
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_quartz_trim"
          },
          "when": "minecraft:quartz"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_iron_trim"
          },
          "when": "minecraft:iron"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_netherite_trim"
          },
          "when": "minecraft:netherite"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_redstone_trim"
          },
          "when": "minecraft:redstone"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_copper_trim"
          },
          "when": "minecraft:copper"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_gold_trim"
          },
          "when": "minecraft:gold"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_emerald_trim"
          },
          "when": "minecraft:emerald"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_diamond_trim"
          },
          "when": "minecraft:diamond"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_lapis_trim"
          },
          "when": "minecraft:lapis"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_amethyst_trim"
          },
          "when": "minecraft:amethyst"
        },
        {
          "model": {
            "type": "minecraft:model",
            "model": "minecraft:item/diamond_helmet_resin_trim"
          },
          "when": "minecraft:resin"
        }
      ],
      "fallback": {
        "type": "minecraft:model",
        "model": "minecraft:item/diamond_helmet"
      },
      "property": "minecraft:trim_material"
    },
    "entries": [
      {
        "threshold": 20001,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/aquatic_helmet_frame"
        }
      },
      {
        "threshold": 20184,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/helmet_frame"
        }
      },
      {
        "threshold": 35000,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/aquatic_helmet"
        }
      },
      {
        "threshold": 40011,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/bee_helmet"
        }
      },
      {
        "threshold": 40078,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/soulbound_helmet"
        }
      },
      {
        "threshold": 45050,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/scuba_helmet"
        }
      },
      {
        "threshold": 50001,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/adamantium_helmet"
        }
      },
      {
        "threshold": 50005,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/aurum_helmet"
        }
      },
      {
        "threshold": 50011,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/cactus_helmet"
        }
      },
      {
        "threshold": 50012,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/chaotic_helmet"
        }
      },
      {
        "threshold": 50015,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/cryo_helmet"
        }
      },
      {
        "threshold": 50018,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/damascus_steel_helmet"
        }
      },
      {
        "threshold": 50037,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/draconic_helmet"
        }
      },
      {
        "threshold": 50040,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/ender_helmet"
        }
      },
      {
        "threshold": 50048,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/gear_helmet"
        }
      },
      {
        "threshold": 50050,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/gilded_iron_helmet"
        }
      },
      {
        "threshold": 50051,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/glowstone_helmet"
        }
      },
      {
        "threshold": 50052,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/gold_12k_helmet"
        }
      },
      {
        "threshold": 50139,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/random_helmet"
        }
      },
      {
        "threshold": 50141,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/reinforced_alloy_helmet"
        }
      },
      {
        "threshold": 50149,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/slime_helmet"
        }
      },
      {
        "threshold": 50150,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/slime_helmet_steel"
        }
      },
      {
        "threshold": 50155,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/slime_steel_helmet"
        }
      },
      {
        "threshold": 50177,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet"
        }
      },
      {
        "threshold": 50179,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/titanium_helmet"
        }
      },
      {
        "threshold": 50187,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/wf_cryo_helmet"
        }
      },
      {
        "threshold": 50189,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/wyvern_helmet"
        }
      },
      {
        "threshold": 50580,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/golden_helmet_12k"
        }
      },
      {
        "threshold": 51037,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet_epic"
        }
      },
      {
        "threshold": 51038,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet_legendary"
        }
      },
      {
        "threshold": 51039,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet_magic"
        }
      },
      {
        "threshold": 51040,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet_rare"
        }
      },
      {
        "threshold": 51041,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/thornium_helmet_supreme"
        }
      },
      {
        "threshold": 60139,
        "model": {
          "type": "minecraft:model",
          "model": "item/nexusprism/solar_helmet"
        }
      }
    ]
  }
}
