public class UArmorItem 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 |
---|
UArmorItem(java.lang.String name,
net.minecraft.item.Item.Properties properties,
net.minecraft.item.IArmorMaterial material,
net.minecraft.inventory.EquipmentSlotType slot) |
UArmorItem(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, onItemRightClick
addInformation, 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, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, 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, showDurabilityBar
protected final java.lang.String typeName
protected final java.lang.String name
public UArmorItem(java.lang.String name, net.minecraft.item.Item.Properties properties, net.minecraft.item.IArmorMaterial material, net.minecraft.inventory.EquipmentSlotType slot)
public UArmorItem(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()
IURegistryType
IForgeRegistryEntry
getEntryName
in interface IURegistryType
public 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.IForgeItem
protected java.lang.String getTypeString(net.minecraft.inventory.EquipmentSlotType slot)