001    /**
002     * This software is provided under the terms of the Minecraft Forge Public
003     * License v1.0.
004     */
005    
006    package net.minecraftforge.common;
007    
008    import net.minecraft.item.ItemStack;
009    
010    /**
011     * This interface has to be implemented by an instance of ItemArmor.
012     * It allows for the application of a custom texture file to the player skin
013     * when the armor is worn.
014     */
015    public interface IArmorTextureProvider
016    {
017    
018        /**
019         * This interface has to return the path to a file that is the same
020         * format as iron_1.png (or any of the other armor files). It will be
021         * applied to the player skin when the armor is worn.
022         */
023        public String getArmorTextureFile(ItemStack itemstack);
024    
025    }
026