[
    {
        "function": "set_item",
        "item": "cod_spawn_egg"
    },
    {
        "function": "minecraft:set_components",
        "components": {
            "!minecraft:custom_model_data": {},
            "minecraft:custom_name": "{\"translate\": \"trim_pattern.tooltrims.charge\", \"italic\": false}",
            "minecraft:rarity": "epic",
            "minecraft:custom_model_data": 315001,
            "minecraft:entity_data": {
                "id": "minecraft:marker",
                "Tags": [
                    "tooltrims.leftover",
                    "tooltrims.charge"
                ]
            },
            "minecraft:custom_data": {
                "tooltrims:item": "template"
            }
        }
    },
    {
        "function": "set_lore",
        "mode": "replace_all",
        "lore": [
            { "translate": "item.minecraft.smithing_template", "italic": false, "color": "gray" },

            { "text": "", "italic": false },

            { "translate": "item.minecraft.smithing_template.applies_to", "italic": false, "color": "gray" },
            { "text": " ", "extra": [{ "translate": "template.tooltrims.applies_to", "italic": false, "color": "blue" }] },

            { "translate": "item.minecraft.smithing_template.ingredients", "italic": false, "color": "gray" },
            { "text": " ", "extra": [{ "translate": "item.minecraft.smithing_template.armor_trim.ingredients", "italic": false, "color": "blue" }] }
        ]
    }
]