public class UItemArmor extends net.minecraft.item.ArmorItem implements IURegistryType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected java.lang.String |
typeName |
damageReduceAmount, DISPENSER_BEHAVIOR, material, slot, toughness| Constructor and Description |
|---|
UItemArmor(java.lang.String name,
net.minecraft.item.Item.Properties properties,
net.minecraft.item.IArmorMaterial material,
net.minecraft.inventory.EquipmentSlotType slot) |
UItemArmor(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.item.Item.Properties properties,
net.minecraft.item.IArmorMaterial material,
net.minecraft.inventory.EquipmentSlotType slot) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArmorTexture(net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity,
net.minecraft.inventory.EquipmentSlotType slot,
java.lang.String type) |
java.lang.String |
getEntryName()
Must return a unique name per
IForgeRegistryEntry |
protected java.lang.String |
getTypeString(net.minecraft.inventory.EquipmentSlotType slot) |
dispenseArmor, getArmorMaterial, getAttributeModifiers, getDamageReduceAmount, getEquipmentSlot, getIsRepairable, getItemEnchantability, getToughness, onItemRightClickaddInformation, addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, func_219972_a, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getItemById, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, onPlayerStoppedUsing, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarprotected final java.lang.String typeName
protected final java.lang.String name
public UItemArmor(java.lang.String name,
net.minecraft.item.Item.Properties properties,
net.minecraft.item.IArmorMaterial material,
net.minecraft.inventory.EquipmentSlotType slot)
public UItemArmor(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.item.Item.Properties properties,
net.minecraft.item.IArmorMaterial material,
net.minecraft.inventory.EquipmentSlotType slot)
public java.lang.String getEntryName()
IURegistryTypeIForgeRegistryEntrygetEntryName in interface IURegistryTypepublic java.lang.String getArmorTexture(net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity,
net.minecraft.inventory.EquipmentSlotType slot,
java.lang.String type)
getArmorTexture in interface net.minecraftforge.common.extensions.IForgeItemprotected java.lang.String getTypeString(net.minecraft.inventory.EquipmentSlotType slot)