net.minecraft.world.item

public class RecordItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cnq
net.minecraft.world.item.RecordItem
net.minecraft.class_1813
net.minecraft.unmapped.C_mrrkyqgt
net.minecraft.item.MusicDiscItem
net.minecraft.item.MusicDiscItem
net.minecraft.src.C_1408_
net.minecraft.world.item.ItemRecord

Field summary

Modifier and TypeField
private static final Map<SoundEvent, RecordItem>
a
BY_NAME
field_8901
f_tdiawtqz
MUSIC_DISCS
MUSIC_DISCS
f_43032_
private final int
b
analogOutput
field_8902
f_nhmxtbit
comparatorOutput
comparatorOutput
f_43033_
private final SoundEvent
c
sound
field_8900
f_xqvuspjp
sound
sound
f_43034_
private final int
d
lengthInTicks
field_39480
f_huhlrblz
lengthInTicks
ticks
f_238749_

Constructor summary

ModifierConstructor
protected (int comparatorOutput, SoundEvent sound, Item$Properties settings, int lengthInSeconds)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cpj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public int
h()
getAnalogOutput()
method_8010()
m_mqfxyumx()
getComparatorOutput()
getComparatorOutput()
m_43049_()
public void
a(cmy arg0, ctp arg1, List<vf> arg2, coq arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_43044_, C_1596_ p_43045_, List<C_4996_> p_43046_, C_1431_ arg3)
public MutableComponent
i()
getDisplayName()
method_8011()
m_jpjdrkht()
getDescription()
getDescription()
m_43050_()
public static RecordItem
a(arr arg0)
getBySound(SoundEvent arg0)
method_8012(class_3414 arg0)
m_zafeihob(C_avavozay arg0)
bySound(SoundEvent sound)
bySound(SoundEvent sound)
m_43040_(C_123_ p_43041_)
public SoundEvent
x()
getSound()
method_8009()
m_auvhikcn()
getSound()
getSound()
m_43051_()
public int
y()
getLengthInTicks()
method_44369()
m_nbvhacod()
getSongLengthInTicks()
getTicks()
m_43036_()