net.minecraft.world.item

public record JukeboxPlayable

implements TooltipProvider

cxu
net.minecraft.world.item.JukeboxPlayable
net.minecraft.class_9792
net.minecraft.unmapped.C_kznjvexi
net.minecraft.component.type.JukeboxPlayableComponent
net.minecraft.component.type.JukeboxPlayableComponent
net.minecraft.src.C_336595_
net.minecraft.world.item.JukeboxPlayable

Field summary

Modifier and TypeField
private final EitherHolder<JukeboxSong>
c
song
comp_2833
f_iaowsmra
song
song
f_337112_
private final boolean
d
showInTooltip
comp_2834
f_rmgyybis
showInTooltip
showInTooltip
f_336721_
public static final com.mojang.serialization.Codec<JukeboxPlayable>
a
CODEC
field_52025
f_hsvlsnoc
CODEC
CODEC
f_337315_
public static final StreamCodec<RegistryFriendlyByteBuf, JukeboxPlayable>
b
STREAM_CODEC
field_52026
f_jquzeqvw
PACKET_CODEC
PACKET_CODEC
f_337415_

Constructor summary

ModifierConstructor
public (EitherHolder<JukeboxSong> song, boolean showInTooltip)

Method summary

Modifier and TypeMethod
public void
a(cxl$b arg0, Consumer<xv> arg1, czh arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig arg2)
m_319025_(C_1381_$C_313602_ p_344027_, Consumer<C_4996_> p_344530_, C_1431_ arg2)
public JukeboxPlayable
a(boolean arg0)
withTooltip(boolean arg0)
method_60749(boolean arg0)
m_kedbjaei(boolean arg0)
withShowInTooltip(boolean showInTooltip)
withShowInToolTip(boolean show)
m_340314_(boolean arg0)
public static InteractionResult
a(dhi arg0, jh arg1, cxp arg2, cpx arg3)
tryInsertIntoJukebox(Level arg0, BlockPos arg1, ItemStack arg2, Player arg3)
method_60747(class_1937 arg0, class_2338 arg1, class_1799 arg2, class_1657 arg3)
m_pfpuokdz(C_cdctfzbn arg0, C_hynzadkk arg1, C_sddaxwyk arg2, C_jzrpycqo arg3)
tryPlayStack(World world, BlockPos pos, ItemStack stack, PlayerEntity player)
tryPlayStack(World world, BlockPos pos, ItemStack stack, PlayerEntity player)
m_339307_(C_1596_ p_342790_, C_4675_ p_344904_, C_1391_ p_345065_, C_1141_ p_342036_)
public EitherHolder<JukeboxSong>
a()
song()
comp_2833()
m_lvpfabdx()
song()
song()
f_337112_()
public boolean
b()
showInTooltip()
comp_2834()
m_zwqlfwwq()
showInTooltip()
showInTooltip()
f_336721_()