/*
 * Derived from Epic Fight (https://github.com/Epic-Fight/epicfight)
 * by the Epic Fight Team, licensed under GPLv3.
 * Modifications © 2026 TiedUp! Remake Contributors, distributed under GPLv3.
 */

package com.tiedup.remake.rig.mixin.client;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Invoker;

import net.minecraft.client.model.AgeableListModel;
import net.minecraft.client.model.geom.ModelPart;

/**
 * Expose les méthodes protected {@code headParts()} et {@code bodyParts()} de
 * {@link AgeableListModel} pour que {@code VanillaModelTransformer.transformArmorModel(...)}
 * puisse itérer les ModelPart sans les hard-coder. Pure @Invoker mixin, pas de
 * logique injectée.
 */
@Mixin(value = AgeableListModel.class)
public interface MixinAgeableListModel {

	@Invoker("headParts")
	Iterable<ModelPart> invoke_headParts();

	@Invoker("bodyParts")
	Iterable<ModelPart> invoke_bodyParts();
}
