{
    "model": {
        "type": "minecraft:condition",
        "property": "minecraft:has_component",
        "component": "custom_model_data",
        "on_true": { 
            "type": "minecraft:select",
            "cases": [
            {
                "model": {

"type": "minecraft:range_dispatch",
"fallback": {
    "type": "minecraft:model",
    "model": "minecraft:item/trident"
},
"property": "minecraft:custom_model_data",
"entries": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_amethyst"}, "threshold": 311001.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_copper"}, "threshold": 311002.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_diamond"}, "threshold": 311003.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_emerald"}, "threshold": 311004.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_gold"}, "threshold": 311005.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_iron"}, "threshold": 311006.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_lapis"}, "threshold": 311007.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_netherite"}, "threshold": 311008.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_quartz"}, "threshold": 311009.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_redstone"}, "threshold": 311010.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_resin"}, "threshold": 311041.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_amethyst"}, "threshold": 311011.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_copper"}, "threshold": 311012.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_diamond"}, "threshold": 311013.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_emerald"}, "threshold": 311014.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_gold"}, "threshold": 311015.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_iron"}, "threshold": 311016.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_lapis"}, "threshold": 311017.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_netherite"}, "threshold": 311018.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_quartz"}, "threshold": 311019.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_redstone"}, "threshold": 311020.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_resin"}, "threshold": 311042.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_amethyst"}, "threshold": 311021.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_copper"}, "threshold": 311022.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_diamond"}, "threshold": 311023.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_emerald"}, "threshold": 311024.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_gold"}, "threshold": 311025.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_iron"}, "threshold": 311026.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_lapis"}, "threshold": 311027.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_netherite"}, "threshold": 311028.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_quartz"}, "threshold": 311029.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_redstone"}, "threshold": 311030.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_resin"}, "threshold": 311043.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_amethyst"}, "threshold": 311031.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_copper"}, "threshold": 311032.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_diamond"}, "threshold": 311033.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_emerald"}, "threshold": 311034.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_gold"}, "threshold": 311035.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_iron"}, "threshold": 311036.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_lapis"}, "threshold": 311037.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_netherite"}, "threshold": 311038.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_quartz"}, "threshold": 311039.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_redstone"}, "threshold": 311040.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_resin"}, "threshold": 311044.0 }
]

                },
                "when": [ "gui", "ground", "fixed" ]
            }
            ],
            "fallback": {
            "type": "minecraft:condition",
            "on_false": {

"type": "minecraft:range_dispatch",
"fallback": {
    "type": "minecraft:special",
    "base": "minecraft:item/trident_in_hand",
    "model": {
        "type": "minecraft:trident"
    }
},
"property": "minecraft:custom_model_data",
"entries": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_amethyst"}, "threshold": 311001.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_copper"}, "threshold": 311002.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_diamond"}, "threshold": 311003.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_emerald"}, "threshold": 311004.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_gold"}, "threshold": 311005.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_iron"}, "threshold": 311006.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_lapis"}, "threshold": 311007.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_netherite"}, "threshold": 311008.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_quartz"}, "threshold": 311009.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_redstone"}, "threshold": 311010.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_resin"}, "threshold": 311041.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_amethyst"}, "threshold": 311011.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_copper"}, "threshold": 311012.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_diamond"}, "threshold": 311013.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_emerald"}, "threshold": 311014.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_gold"}, "threshold": 311015.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_iron"}, "threshold": 311016.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_lapis"}, "threshold": 311017.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_netherite"}, "threshold": 311018.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_quartz"}, "threshold": 311019.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_redstone"}, "threshold": 311020.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_resin"}, "threshold": 311042.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_amethyst"}, "threshold": 311021.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_copper"}, "threshold": 311022.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_diamond"}, "threshold": 311023.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_emerald"}, "threshold": 311024.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_gold"}, "threshold": 311025.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_iron"}, "threshold": 311026.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_lapis"}, "threshold": 311027.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_netherite"}, "threshold": 311028.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_quartz"}, "threshold": 311029.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_redstone"}, "threshold": 311030.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_resin"}, "threshold": 311043.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_amethyst"}, "threshold": 311031.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_copper"}, "threshold": 311032.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_diamond"}, "threshold": 311033.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_emerald"}, "threshold": 311034.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_gold"}, "threshold": 311035.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_iron"}, "threshold": 311036.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_lapis"}, "threshold": 311037.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_netherite"}, "threshold": 311038.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_quartz"}, "threshold": 311039.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_redstone"}, "threshold": 311040.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_resin"}, "threshold": 311044.0 }
]

            },
            "on_true": {

"type": "minecraft:range_dispatch",
"fallback": {
    "type": "minecraft:special",
    "base": "minecraft:item/trident_throwing",
    "model": {
        "type": "minecraft:trident"
    }
},
"property": "minecraft:custom_model_data",
"entries": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_amethyst"}, "threshold": 311001.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_copper"}, "threshold": 311002.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_diamond"}, "threshold": 311003.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_emerald"}, "threshold": 311004.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_gold"}, "threshold": 311005.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_iron"}, "threshold": 311006.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_lapis"}, "threshold": 311007.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_netherite"}, "threshold": 311008.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_quartz"}, "threshold": 311009.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_redstone"}, "threshold": 311010.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_resin"}, "threshold": 311041.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_amethyst"}, "threshold": 311011.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_copper"}, "threshold": 311012.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_diamond"}, "threshold": 311013.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_emerald"}, "threshold": 311014.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_gold"}, "threshold": 311015.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_iron"}, "threshold": 311016.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_lapis"}, "threshold": 311017.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_netherite"}, "threshold": 311018.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_quartz"}, "threshold": 311019.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_redstone"}, "threshold": 311020.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_resin"}, "threshold": 311042.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_amethyst"}, "threshold": 311021.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_copper"}, "threshold": 311022.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_diamond"}, "threshold": 311023.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_emerald"}, "threshold": 311024.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_gold"}, "threshold": 311025.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_iron"}, "threshold": 311026.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_lapis"}, "threshold": 311027.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_netherite"}, "threshold": 311028.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_quartz"}, "threshold": 311029.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_redstone"}, "threshold": 311030.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_resin"}, "threshold": 311043.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_amethyst"}, "threshold": 311031.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_copper"}, "threshold": 311032.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_diamond"}, "threshold": 311033.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_emerald"}, "threshold": 311034.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_gold"}, "threshold": 311035.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_iron"}, "threshold": 311036.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_lapis"}, "threshold": 311037.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_netherite"}, "threshold": 311038.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_quartz"}, "threshold": 311039.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_redstone"}, "threshold": 311040.0 },
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_resin"}, "threshold": 311044.0 }
]

            },
            "property": "minecraft:using_item"
            },
            "property": "minecraft:display_context"
        },
        "on_false": { 
            "type": "minecraft:select",
            "cases": [
            {
                "model": {

"type": "minecraft:select",
"fallback": {
    "type": "minecraft:model",
    "model": "minecraft:item/trident"
},
"property": "minecraft:component",
"component": "minecraft:trim",
"cases": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_amethyst"}, "when": {"pattern":"tooltrims:linear", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_copper"}, "when": {"pattern":"tooltrims:linear", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_diamond"}, "when": {"pattern":"tooltrims:linear", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_emerald"}, "when": {"pattern":"tooltrims:linear", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_gold"}, "when": {"pattern":"tooltrims:linear", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_iron"}, "when": {"pattern":"tooltrims:linear", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_lapis"}, "when": {"pattern":"tooltrims:linear", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_netherite"}, "when": {"pattern":"tooltrims:linear", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_quartz"}, "when": {"pattern":"tooltrims:linear", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_redstone"}, "when": {"pattern":"tooltrims:linear", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_linear_resin"}, "when": {"pattern":"tooltrims:linear", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_amethyst"}, "when": {"pattern":"tooltrims:tracks", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_copper"}, "when": {"pattern":"tooltrims:tracks", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_diamond"}, "when": {"pattern":"tooltrims:tracks", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_emerald"}, "when": {"pattern":"tooltrims:tracks", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_gold"}, "when": {"pattern":"tooltrims:tracks", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_iron"}, "when": {"pattern":"tooltrims:tracks", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_lapis"}, "when": {"pattern":"tooltrims:tracks", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_netherite"}, "when": {"pattern":"tooltrims:tracks", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_quartz"}, "when": {"pattern":"tooltrims:tracks", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_redstone"}, "when": {"pattern":"tooltrims:tracks", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_tracks_resin"}, "when": {"pattern":"tooltrims:tracks", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_amethyst"}, "when": {"pattern":"tooltrims:charge", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_copper"}, "when": {"pattern":"tooltrims:charge", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_diamond"}, "when": {"pattern":"tooltrims:charge", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_emerald"}, "when": {"pattern":"tooltrims:charge", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_gold"}, "when": {"pattern":"tooltrims:charge", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_iron"}, "when": {"pattern":"tooltrims:charge", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_lapis"}, "when": {"pattern":"tooltrims:charge", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_netherite"}, "when": {"pattern":"tooltrims:charge", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_quartz"}, "when": {"pattern":"tooltrims:charge", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_redstone"}, "when": {"pattern":"tooltrims:charge", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_charge_resin"}, "when": {"pattern":"tooltrims:charge", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_amethyst"}, "when": {"pattern":"tooltrims:frost", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_copper"}, "when": {"pattern":"tooltrims:frost", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_diamond"}, "when": {"pattern":"tooltrims:frost", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_emerald"}, "when": {"pattern":"tooltrims:frost", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_gold"}, "when": {"pattern":"tooltrims:frost", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_iron"}, "when": {"pattern":"tooltrims:frost", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_lapis"}, "when": {"pattern":"tooltrims:frost", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_netherite"}, "when": {"pattern":"tooltrims:frost", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_quartz"}, "when": {"pattern":"tooltrims:frost", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_redstone"}, "when": {"pattern":"tooltrims:frost", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_frost_resin"}, "when": {"pattern":"tooltrims:frost", "material": "resin"}}
]

                },
                "when": [ "gui", "ground", "fixed" ]
            }
            ],
            "fallback": {
            "type": "minecraft:condition",
            "on_false": {

"type": "minecraft:select",
"fallback": {
    "type": "minecraft:special",
    "base": "minecraft:item/trident_in_hand",
    "model": {
        "type": "minecraft:trident"
    }
},
"property": "minecraft:component",
"component": "minecraft:trim",
"cases": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_amethyst"}, "when": {"pattern":"tooltrims:linear", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_copper"}, "when": {"pattern":"tooltrims:linear", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_diamond"}, "when": {"pattern":"tooltrims:linear", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_emerald"}, "when": {"pattern":"tooltrims:linear", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_gold"}, "when": {"pattern":"tooltrims:linear", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_iron"}, "when": {"pattern":"tooltrims:linear", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_lapis"}, "when": {"pattern":"tooltrims:linear", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_netherite"}, "when": {"pattern":"tooltrims:linear", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_quartz"}, "when": {"pattern":"tooltrims:linear", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_redstone"}, "when": {"pattern":"tooltrims:linear", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_linear_resin"}, "when": {"pattern":"tooltrims:linear", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_amethyst"}, "when": {"pattern":"tooltrims:tracks", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_copper"}, "when": {"pattern":"tooltrims:tracks", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_diamond"}, "when": {"pattern":"tooltrims:tracks", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_emerald"}, "when": {"pattern":"tooltrims:tracks", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_gold"}, "when": {"pattern":"tooltrims:tracks", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_iron"}, "when": {"pattern":"tooltrims:tracks", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_lapis"}, "when": {"pattern":"tooltrims:tracks", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_netherite"}, "when": {"pattern":"tooltrims:tracks", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_quartz"}, "when": {"pattern":"tooltrims:tracks", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_redstone"}, "when": {"pattern":"tooltrims:tracks", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_tracks_resin"}, "when": {"pattern":"tooltrims:tracks", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_amethyst"}, "when": {"pattern":"tooltrims:charge", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_copper"}, "when": {"pattern":"tooltrims:charge", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_diamond"}, "when": {"pattern":"tooltrims:charge", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_emerald"}, "when": {"pattern":"tooltrims:charge", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_gold"}, "when": {"pattern":"tooltrims:charge", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_iron"}, "when": {"pattern":"tooltrims:charge", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_lapis"}, "when": {"pattern":"tooltrims:charge", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_netherite"}, "when": {"pattern":"tooltrims:charge", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_quartz"}, "when": {"pattern":"tooltrims:charge", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_redstone"}, "when": {"pattern":"tooltrims:charge", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_charge_resin"}, "when": {"pattern":"tooltrims:charge", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_amethyst"}, "when": {"pattern":"tooltrims:frost", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_copper"}, "when": {"pattern":"tooltrims:frost", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_diamond"}, "when": {"pattern":"tooltrims:frost", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_emerald"}, "when": {"pattern":"tooltrims:frost", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_gold"}, "when": {"pattern":"tooltrims:frost", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_iron"}, "when": {"pattern":"tooltrims:frost", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_lapis"}, "when": {"pattern":"tooltrims:frost", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_netherite"}, "when": {"pattern":"tooltrims:frost", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_quartz"}, "when": {"pattern":"tooltrims:frost", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_redstone"}, "when": {"pattern":"tooltrims:frost", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_frost_resin"}, "when": {"pattern":"tooltrims:frost", "material": "resin"}}
]

            },
            "on_true": {

"type": "minecraft:select",
"fallback": {
    "type": "minecraft:special",
    "base": "minecraft:item/trident_throwing",
    "model": {
        "type": "minecraft:trident"
    }
},
"property": "minecraft:component",
"component": "minecraft:trim",
"cases": [
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_amethyst"}, "when": {"pattern":"tooltrims:linear", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_copper"}, "when": {"pattern":"tooltrims:linear", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_diamond"}, "when": {"pattern":"tooltrims:linear", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_emerald"}, "when": {"pattern":"tooltrims:linear", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_gold"}, "when": {"pattern":"tooltrims:linear", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_iron"}, "when": {"pattern":"tooltrims:linear", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_lapis"}, "when": {"pattern":"tooltrims:linear", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_netherite"}, "when": {"pattern":"tooltrims:linear", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_quartz"}, "when": {"pattern":"tooltrims:linear", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_redstone"}, "when": {"pattern":"tooltrims:linear", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_linear_resin"}, "when": {"pattern":"tooltrims:linear", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_amethyst"}, "when": {"pattern":"tooltrims:tracks", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_copper"}, "when": {"pattern":"tooltrims:tracks", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_diamond"}, "when": {"pattern":"tooltrims:tracks", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_emerald"}, "when": {"pattern":"tooltrims:tracks", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_gold"}, "when": {"pattern":"tooltrims:tracks", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_iron"}, "when": {"pattern":"tooltrims:tracks", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_lapis"}, "when": {"pattern":"tooltrims:tracks", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_netherite"}, "when": {"pattern":"tooltrims:tracks", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_quartz"}, "when": {"pattern":"tooltrims:tracks", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_redstone"}, "when": {"pattern":"tooltrims:tracks", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_tracks_resin"}, "when": {"pattern":"tooltrims:tracks", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_amethyst"}, "when": {"pattern":"tooltrims:charge", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_copper"}, "when": {"pattern":"tooltrims:charge", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_diamond"}, "when": {"pattern":"tooltrims:charge", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_emerald"}, "when": {"pattern":"tooltrims:charge", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_gold"}, "when": {"pattern":"tooltrims:charge", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_iron"}, "when": {"pattern":"tooltrims:charge", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_lapis"}, "when": {"pattern":"tooltrims:charge", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_netherite"}, "when": {"pattern":"tooltrims:charge", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_quartz"}, "when": {"pattern":"tooltrims:charge", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_redstone"}, "when": {"pattern":"tooltrims:charge", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_charge_resin"}, "when": {"pattern":"tooltrims:charge", "material": "resin"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_amethyst"}, "when": {"pattern":"tooltrims:frost", "material": "amethyst"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_copper"}, "when": {"pattern":"tooltrims:frost", "material": "copper"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_diamond"}, "when": {"pattern":"tooltrims:frost", "material": "diamond"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_emerald"}, "when": {"pattern":"tooltrims:frost", "material": "emerald"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_gold"}, "when": {"pattern":"tooltrims:frost", "material": "gold"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_iron"}, "when": {"pattern":"tooltrims:frost", "material": "iron"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_lapis"}, "when": {"pattern":"tooltrims:frost", "material": "lapis"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_netherite"}, "when": {"pattern":"tooltrims:frost", "material": "netherite"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_quartz"}, "when": {"pattern":"tooltrims:frost", "material": "quartz"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_redstone"}, "when": {"pattern":"tooltrims:frost", "material": "redstone"}},
    {"model": {"type": "model", "model": "tooltrims:trims/trident_entity_throwing_frost_resin"}, "when": {"pattern":"tooltrims:frost", "material": "resin"}}
]

            },
            "property": "minecraft:using_item"
            },
            "property": "minecraft:display_context"
        }
    }
}