package com.tiedup.remake.entities.skins;

import com.tiedup.remake.entities.DamselVariant;
import net.minecraft.resources.ResourceLocation;

/**
 * Registry and manager for shiny damsel skin variants.
 *
 * Shiny damsels are rare variants with:
 * - Faster movement speed
 * - Golden sparkle particles
 * - Rare spawn rate
 * - Dedicated shiny skins
 */
public class ShinyDamselSkinManager {

    public static final SkinManagerCore<DamselVariant> CORE =
        new SkinManagerCore<>(
            "ShinyDamselSkinManager",
            "damsel_shiny",
            SkinDefinition::toDamselVariant,
            ShinyDamselSkinManager::loadHardcodedDefaults
        );

    /**
     * Initialize and register all shiny damsel variants.
     */
    public static void registerDefaults() {
        CORE.registerDefaults();
    }

    /**
     * Load hardcoded default shiny damsel skin variants.
     */
    private static void loadHardcodedDefaults() {
        CORE.registerVariant(
            new DamselVariant(
                "ellen",
                ResourceLocation.fromNamespaceAndPath(
                    "tiedup",
                    "textures/entity/damsel/shiny/ellen.png"
                ),
                true,
                "Ellen",
                Gender.FEMALE
            )
        );
    }
}
