net.minecraft.world.item

public record JukeboxPlayable

implements TooltipProvider

dda
net.minecraft.world.item.JukeboxPlayable

Field summary

Modifier and TypeField
private final EitherHolder<JukeboxSong>
c
song
public static final com.mojang.serialization.Codec<JukeboxPlayable>
a
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, JukeboxPlayable>
b
STREAM_CODEC

Constructor summary

ModifierConstructor
public (EitherHolder<JukeboxSong> arg0)

Method summary

Modifier and TypeMethod
public void
a(dcr$b arg0, Consumer<xo> arg1, dek arg2, kl arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
public static InteractionResult
a(dmu arg0, jb arg1, dcv arg2, cut arg3)
tryInsertIntoJukebox(Level arg0, BlockPos arg1, ItemStack arg2, Player arg3)
public EitherHolder<JukeboxSong>
a()
song()