public class ItemArmor extends Item
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ItemArmor.ArmorMaterial | 
Item.ToolMaterialIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>| Modifier and Type | Field and Description | 
|---|---|
| EntityEquipmentSlot | armorType | 
| int | damageReduceAmount | 
| static IBehaviorDispenseItem | DISPENSER_BEHAVIOR | 
| static java.lang.String[] | EMPTY_SLOT_NAMES | 
| int | renderIndex | 
| float | toughness | 
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYdelegate| Constructor and Description | 
|---|
| ItemArmor(ItemArmor.ArmorMaterial materialIn,
         int renderIndexIn,
         EntityEquipmentSlot equipmentSlotIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ItemStack | dispenseArmor(IBlockSource blockSource,
             ItemStack stack) | 
| ItemArmor.ArmorMaterial | getArmorMaterial() | 
| int | getColor(ItemStack stack) | 
| EntityEquipmentSlot | getEquipmentSlot() | 
| boolean | getIsRepairable(ItemStack toRepair,
               ItemStack repair) | 
| com.google.common.collect.Multimap<java.lang.String,AttributeModifier> | getItemAttributeModifiers(EntityEquipmentSlot equipmentSlot) | 
| int | getItemEnchantability() | 
| boolean | hasColor(ItemStack stack) | 
| boolean | hasOverlay(ItemStack stack)Determines if this armor will be rendered with the secondary 'overlay' texture. | 
| ActionResult<ItemStack> | onItemRightClick(World worldIn,
                EntityPlayer playerIn,
                EnumHand handIn) | 
| void | removeColor(ItemStack stack) | 
| void | setColor(ItemStack stack,
        int color) | 
addInformation, addPropertyOverride, canApplyAtEnchantingTable, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic static final java.lang.String[] EMPTY_SLOT_NAMES
public static final IBehaviorDispenseItem DISPENSER_BEHAVIOR
public final EntityEquipmentSlot armorType
public final int damageReduceAmount
public final float toughness
public final int renderIndex
public ItemArmor(ItemArmor.ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn)
public static ItemStack dispenseArmor(IBlockSource blockSource, ItemStack stack)
public EntityEquipmentSlot getEquipmentSlot()
public int getItemEnchantability()
getItemEnchantability in class Itempublic ItemArmor.ArmorMaterial getArmorMaterial()
public boolean hasColor(ItemStack stack)
public int getColor(ItemStack stack)
public void removeColor(ItemStack stack)
public void setColor(ItemStack stack, int color)
public boolean getIsRepairable(ItemStack toRepair, ItemStack repair)
getIsRepairable in class Itempublic ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn)
onItemRightClick in class Itempublic com.google.common.collect.Multimap<java.lang.String,AttributeModifier> getItemAttributeModifiers(EntityEquipmentSlot equipmentSlot)
getItemAttributeModifiers in class Itempublic boolean hasOverlay(ItemStack stack)
stack - The stack