Uses of Record Class
net.minecraft.world.item.JukeboxSong
Package
Description
-
Uses of JukeboxSong in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<HolderSet<JukeboxSong>> ItemJukeboxPlayablePredicate.song
The field for thesong
record component.Modifier and TypeMethodDescriptionItemJukeboxPlayablePredicate.song()
Returns the value of thesong
record component.ModifierConstructorDescriptionCreates an instance of aItemJukeboxPlayablePredicate
record class. -
Uses of JukeboxSong in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
LevelRenderer.playJukeboxSong
(Holder<JukeboxSong> p_350918_, BlockPos p_350830_) -
Uses of JukeboxSong in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<JukeboxSong>> Registries.JUKEBOX_SONG
-
Uses of JukeboxSong in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final ResourceKey
<JukeboxSong> JukeboxSongs.BLOCKS
static final ResourceKey
<JukeboxSong> JukeboxSongs.CAT
static final ResourceKey
<JukeboxSong> JukeboxSongs.CHIRP
static final com.mojang.serialization.Codec
<Holder<JukeboxSong>> JukeboxSong.CODEC
static final ResourceKey
<JukeboxSong> JukeboxSongs.CREATOR
static final ResourceKey
<JukeboxSong> JukeboxSongs.CREATOR_MUSIC_BOX
static final com.mojang.serialization.Codec
<JukeboxSong> JukeboxSong.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, JukeboxSong> JukeboxSong.DIRECT_STREAM_CODEC
static final ResourceKey
<JukeboxSong> JukeboxSongs.ELEVEN
static final ResourceKey
<JukeboxSong> JukeboxSongs.FAR
static final ResourceKey
<JukeboxSong> JukeboxSongs.FIVE
static final ResourceKey
<JukeboxSong> JukeboxSongs.MALL
static final ResourceKey
<JukeboxSong> JukeboxSongs.MELLOHI
static final ResourceKey
<JukeboxSong> JukeboxSongs.OTHERSIDE
static final ResourceKey
<JukeboxSong> JukeboxSongs.PIGSTEP
static final ResourceKey
<JukeboxSong> JukeboxSongs.PRECIPICE
static final ResourceKey
<JukeboxSong> JukeboxSongs.RELIC
private final EitherHolder
<JukeboxSong> JukeboxPlayable.song
The field for thesong
record component.private Holder
<JukeboxSong> JukeboxSongPlayer.song
static final ResourceKey
<JukeboxSong> JukeboxSongs.STAL
static final ResourceKey
<JukeboxSong> JukeboxSongs.STRAD
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODEC
static final ResourceKey
<JukeboxSong> JukeboxSongs.THIRTEEN
static final ResourceKey
<JukeboxSong> JukeboxSongs.WAIT
static final ResourceKey
<JukeboxSong> JukeboxSongs.WARD
Modifier and TypeMethodDescriptionprivate static ResourceKey
<JukeboxSong> static Optional
<Holder<JukeboxSong>> JukeboxSong.fromStack
(HolderLookup.Provider p_350602_, ItemStack p_350870_) JukeboxPlayable.song()
Returns the value of thesong
record component.Modifier and TypeMethodDescriptionstatic void
JukeboxSongs.bootstrap
(BootstrapContext<JukeboxSong> p_350269_) Item.Properties.jukeboxPlayable
(ResourceKey<JukeboxSong> p_350862_) void
JukeboxSongPlayer.play
(LevelAccessor p_350839_, Holder<JukeboxSong> p_350771_) private static void
JukeboxSongs.register
(BootstrapContext<JukeboxSong> p_350719_, ResourceKey<JukeboxSong> p_350460_, Holder.Reference<SoundEvent> p_350456_, int p_350314_, int p_350919_) private static void
JukeboxSongs.register
(BootstrapContext<JukeboxSong> p_350719_, ResourceKey<JukeboxSong> p_350460_, Holder.Reference<SoundEvent> p_350456_, int p_350314_, int p_350919_) void
JukeboxSongPlayer.setSongWithoutPlaying
(Holder<JukeboxSong> p_350889_, long p_350896_) ModifierConstructorDescriptionJukeboxPlayable
(EitherHolder<JukeboxSong> song, boolean showInTooltip) Creates an instance of aJukeboxPlayable
record class. -
Uses of JukeboxSong in net.neoforged.neoforge.oldtest.item
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<JukeboxSong> MusicDiscTest.TEST_SONG