001/**
002 * This software is provided under the terms of the Minecraft Forge Public
003 * License v1.0.
004 */
005
006package net.minecraftforge.common;
007
008import 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@Deprecated //See Item.getArmorTexture
016public interface IArmorTextureProvider
017{
018
019    /**
020     * This interface has to return the path to a file that is the same
021     * format as iron_1.png (or any of the other armor files). It will be
022     * applied to the player skin when the armor is worn.
023     */
024    public String getArmorTextureFile(ItemStack itemstack);
025
026}
027