{
  "model":{
    "type":"minecraft:select",
    "property":"minecraft:trim_material",
    "cases":[
      {
        "when": "amethyst",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_amethyst_trim"
        }
      },
      {
        "when":"copper",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_copper_trim"
        }
      },
      {
        "when":"diamond",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_diamond_trim"
        }
      },
      {
        "when":"emerald",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_emerald_trim"
        }
      },
      {
        "when":"gold",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_gold_trim"
        }
      },
      {
        "when":"iron",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_iron_trim"
        }
      },
      {
        "when":"lapis",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_lapis_trim"
        }
      },
      {
        "when":"netherite",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_netherite_trim"
        }
      },
      {
        "when":"quartz",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_quartz_trim"
        }
      },
      {
        "when":"redstone",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_redstone_trim"
        }
      },
      {
        "when":"resin",
        "model":{
          "type":"minecraft:model",
          "model":"chimeradev:item/elytra_resin_trim"
        }
      }
    ],
    "fallback":{
      "type":"minecraft:model",
      "model":"chimeradev:item/elytra"
    }
  }
}