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, delegate, 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 p_82813_1_,
int p_82813_2_) |
static IIcon |
func_94602_b(int p_94602_0_) |
ItemArmor.ArmorMaterial |
getArmorMaterial() |
int |
getColor(ItemStack p_82814_1_) |
int |
getColorFromItemStack(ItemStack p_82790_1_,
int p_82790_2_) |
IIcon |
getIconFromDamageForRenderPass(int p_77618_1_,
int p_77618_2_) |
boolean |
getIsRepairable(ItemStack p_82789_1_,
ItemStack p_82789_2_) |
int |
getItemEnchantability() |
boolean |
hasColor(ItemStack p_82816_1_) |
ItemStack |
onItemRightClick(ItemStack p_77659_1_,
World p_77659_2_,
EntityPlayer p_77659_3_) |
void |
registerIcons(IIconRegister p_94581_1_) |
void |
removeColor(ItemStack p_82815_1_) |
boolean |
requiresMultipleRenderPasses() |
addInformation, canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamage, getIconIndex, getIconString, getIdFromItem, getItemAttributeModifiers, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onEaten, onItemUse, onPlayerStoppedUsing, onUpdate, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public 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 p_82790_1_, int p_82790_2_)
getColorFromItemStack
in class Item
public boolean requiresMultipleRenderPasses()
requiresMultipleRenderPasses
in class Item
public int getItemEnchantability()
getItemEnchantability
in class Item
public ItemArmor.ArmorMaterial getArmorMaterial()
public boolean hasColor(ItemStack p_82816_1_)
public int getColor(ItemStack p_82814_1_)
public IIcon getIconFromDamageForRenderPass(int p_77618_1_, int p_77618_2_)
getIconFromDamageForRenderPass
in class Item
public void removeColor(ItemStack p_82815_1_)
public void func_82813_b(ItemStack p_82813_1_, int p_82813_2_)
public boolean getIsRepairable(ItemStack p_82789_1_, ItemStack p_82789_2_)
getIsRepairable
in class Item
public void registerIcons(IIconRegister p_94581_1_)
registerIcons
in class Item
public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_)
onItemRightClick
in class Item
public static IIcon func_94602_b(int p_94602_0_)