public class ItemRecord extends Item
Item.ToolMaterialIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYdelegate| Modifier | Constructor and Description | 
|---|---|
| protected  | ItemRecord(java.lang.String p_i46742_1_,
          SoundEvent soundIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInformation(ItemStack stack,
              EntityPlayer playerIn,
              java.util.List<java.lang.String> tooltip,
              boolean advanced) | 
| static ItemRecord | getBySound(SoundEvent soundIn) | 
| EnumRarity | getRarity(ItemStack stack) | 
| java.lang.String | getRecordNameLocal() | 
| ResourceLocation | getRecordResource(java.lang.String name)Retrieves the resource location of the sound to play for this record. | 
| SoundEvent | getSound() | 
| EnumActionResult | onItemUse(EntityPlayer player,
         World worldIn,
         BlockPos pos,
         EnumHand hand,
         EnumFacing facing,
         float hitX,
         float hitY,
         float hitZ) | 
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, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, 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, onItemRightClick, 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, setRegistryNameprotected ItemRecord(java.lang.String p_i46742_1_,
                     SoundEvent soundIn)
public EnumActionResult onItemUse(EntityPlayer player, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ)
public void addInformation(ItemStack stack, EntityPlayer playerIn, java.util.List<java.lang.String> tooltip, boolean advanced)
addInformation in class Itempublic ResourceLocation getRecordResource(java.lang.String name)
name - The name of the record to playpublic java.lang.String getRecordNameLocal()
public EnumRarity getRarity(ItemStack stack)
@Nullable public static ItemRecord getBySound(SoundEvent soundIn)
public SoundEvent getSound()