net.minecraft.world.item

public class RecordItem

extends Item

All mapped superinterfaces:

ItemLike

bmn
net.minecraft.world.item.RecordItem
net.minecraft.class_1813
net.minecraft.item.MusicDiscItem
net.minecraft.item.MusicDiscItem
net.minecraft.server.v1_16_R2.ItemRecord

Field summary

Modifier and TypeField
private static final Map<SoundEvent, RecordItem>
a
BY_NAME
field_8901
MUSIC_DISCS
field_150928_b
private final int
b
analogOutput
field_8902
comparatorOutput
field_195977_c
private final SoundEvent
c
sound
field_8900
sound
field_185076_b

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResult
a(bnx arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
func_195939_a(ItemUseContext arg0)
public int
f()
getAnalogOutput()
method_8010()
getComparatorOutput()
func_195975_g()
public void
a(bly arg0, bru arg1, List<nr> arg2, bni 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)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)
public MutableComponent
g()
getDisplayName()
method_8011()
getDescription()
func_234801_g_()
public static RecordItem
a(adn arg0)
getBySound(SoundEvent arg0)
method_8012(class_3414 arg0)
bySound(SoundEvent sound)
func_185074_a(SoundEvent arg0)
public SoundEvent
v()
getSound()
method_8009()
getSound()
func_185075_h()