public class ItemMultiTexture extends ItemBlock
Item.ToolMaterial
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<ItemStack,java.lang.String> |
nameFunction |
protected Block |
theBlock |
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY
delegate
Constructor and Description |
---|
ItemMultiTexture(Block block,
Block block2,
com.google.common.base.Function<ItemStack,java.lang.String> nameFunction) |
ItemMultiTexture(Block block,
Block block2,
java.lang.String[] namesByMeta) |
Modifier and Type | Method and Description |
---|---|
int |
getMetadata(int damage) |
java.lang.String |
getUnlocalizedName(ItemStack stack) |
addInformation, canPlaceBlockOnSide, getBlock, getCreativeTab, getSubItems, getUnlocalizedName, onItemUse, placeBlockAt, setTileEntityNBT, setUnlocalizedName
addPropertyOverride, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
protected final Block theBlock
protected final com.google.common.base.Function<ItemStack,java.lang.String> nameFunction
public ItemMultiTexture(Block block, Block block2, com.google.common.base.Function<ItemStack,java.lang.String> nameFunction)
public int getMetadata(int damage)
getMetadata
in class Item
public java.lang.String getUnlocalizedName(ItemStack stack)
getUnlocalizedName
in class ItemBlock