public class ItemArmor extends Item
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemArmor.ArmorMaterial |
Item.ToolMaterial| Modifier and Type | Field and Description |
|---|---|
int |
armorType |
int |
damageReduceAmount |
static java.lang.String[] |
EMPTY_SLOT_NAMES |
int |
renderIndex |
bFull3D, canRepair, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemArmor(ItemArmor.ArmorMaterial p_i45325_1_,
int p_i45325_2_,
int p_i45325_3_) |
| Modifier and Type | Method and Description |
|---|---|
void |
func_82813_b(ItemStack par1ItemStack,
int par2) |
static IIcon |
func_94602_b(int par0) |
ItemArmor.ArmorMaterial |
getArmorMaterial() |
int |
getColor(ItemStack par1ItemStack) |
int |
getColorFromItemStack(ItemStack par1ItemStack,
int par2) |
IIcon |
getIconFromDamageForRenderPass(int par1,
int par2) |
boolean |
getIsRepairable(ItemStack par1ItemStack,
ItemStack par2ItemStack) |
int |
getItemEnchantability() |
boolean |
hasColor(ItemStack par1ItemStack) |
ItemStack |
onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
void |
registerIcons(IIconRegister par1IconRegister) |
void |
removeColor(ItemStack par1ItemStack) |
boolean |
requiresMultipleRenderPasses() |
addInformation, canHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconIndex, getIconString, getIdFromItem, getItemAttributeModifiers, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic static final java.lang.String[] EMPTY_SLOT_NAMES
public final int armorType
public final int damageReduceAmount
public final int renderIndex
public ItemArmor(ItemArmor.ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_)
public int getColorFromItemStack(ItemStack par1ItemStack, int par2)
getColorFromItemStack in class Itempublic boolean requiresMultipleRenderPasses()
requiresMultipleRenderPasses in class Itempublic int getItemEnchantability()
getItemEnchantability in class Itempublic ItemArmor.ArmorMaterial getArmorMaterial()
public boolean hasColor(ItemStack par1ItemStack)
public int getColor(ItemStack par1ItemStack)
public IIcon getIconFromDamageForRenderPass(int par1, int par2)
getIconFromDamageForRenderPass in class Itempublic void removeColor(ItemStack par1ItemStack)
public void func_82813_b(ItemStack par1ItemStack, int par2)
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
getIsRepairable in class Itempublic void registerIcons(IIconRegister par1IconRegister)
registerIcons in class Itempublic ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
onItemRightClick in class Itempublic static IIcon func_94602_b(int par0)