public abstract class ItemModelledArmor
extends net.minecraft.item.ItemArmor
| Constructor and Description |
|---|
ItemModelledArmor(net.minecraft.item.ItemArmor.ArmorMaterial material,
int armorType)
A special implementation of ItemArmor which provides built in support for special armor
models, and their respective textures.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.model.ModelBiped |
getArmorModel(net.minecraft.entity.EntityLivingBase entityLiving,
net.minecraft.item.ItemStack stack,
int armorSlot) |
abstract net.minecraft.client.model.ModelBiped |
getArmorModel(net.minecraft.item.ItemStack stack)
Provides the correct model for the piece of armor being rendered.
|
java.lang.String |
getArmorTexture(net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity,
int slot,
java.lang.String type) |
abstract java.lang.String |
getModelTextureName(net.minecraft.item.ItemStack stack)
Used to generate the path for the texture that should be used for the model.
|
func_82813_b, func_94602_b, getArmorMaterial, getColor, getColorFromItemStack, getIconFromDamageForRenderPass, getIsRepairable, getItemEnchantability, hasColor, onItemRightClick, registerIcons, removeColor, requiresMultipleRenderPassesaddInformation, canHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, func_150893_a, func_150897_b, getAttributeModifiers, getChestGenBase, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconIndex, getIconString, getIdFromItem, getItemAttributeModifiers, getItemById, getItemEnchantability, 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, isBeaconPayment, 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 ItemModelledArmor(net.minecraft.item.ItemArmor.ArmorMaterial material,
int armorType)
material: - An ArmorMaterial to use for this armor types. Used for durability,
protection amounts, and so on.armorType: - The type of armor. 0 is helmet, 1 is plate, 2 is legs and 3 is bootspublic java.lang.String getArmorTexture(net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity,
int slot,
java.lang.String type)
getArmorTexture in class net.minecraft.item.Itempublic net.minecraft.client.model.ModelBiped getArmorModel(net.minecraft.entity.EntityLivingBase entityLiving,
net.minecraft.item.ItemStack stack,
int armorSlot)
getArmorModel in class net.minecraft.item.Itempublic abstract net.minecraft.client.model.ModelBiped getArmorModel(net.minecraft.item.ItemStack stack)
stack: - The ItemStack of the armor that is being rendered.public abstract java.lang.String getModelTextureName(net.minecraft.item.ItemStack stack)
stack: - The ItemStack of the armor that is being rendered.