mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
28 lines
721 B
Java
28 lines
721 B
Java
/**
|
|
* This software is provided under the terms of the Minecraft Forge Public
|
|
* License v1.0.
|
|
*/
|
|
|
|
package net.minecraftforge.common;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/**
|
|
* This interface has to be implemented by an instance of ItemArmor.
|
|
* It allows for the application of a custom texture file to the player skin
|
|
* when the armor is worn.
|
|
*/
|
|
@Deprecated //See Item.getArmorTexture
|
|
public interface IArmorTextureProvider
|
|
{
|
|
|
|
/**
|
|
* This interface has to return the path to a file that is the same
|
|
* format as iron_1.png (or any of the other armor files). It will be
|
|
* applied to the player skin when the armor is worn.
|
|
*/
|
|
public String getArmorTextureFile(ItemStack itemstack);
|
|
|
|
}
|
|
|