Uses of Record Class
net.minecraft.world.item.JukeboxSong
Packages that use JukeboxSong
Package
Description
-
Uses of JukeboxSong in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type JukeboxSongModifier and TypeFieldDescriptionprivate final Optional
<HolderSet<JukeboxSong>> ItemJukeboxPlayablePredicate.song
The field for thesong
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type JukeboxSongModifier and TypeMethodDescriptionItemJukeboxPlayablePredicate.song()
Returns the value of thesong
record component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type JukeboxSongModifierConstructorDescriptionCreates an instance of aItemJukeboxPlayablePredicate
record class. -
Uses of JukeboxSong in net.minecraft.client.renderer
Method parameters in net.minecraft.client.renderer with type arguments of type JukeboxSongModifier and TypeMethodDescriptionvoid
LevelRenderer.playJukeboxSong
(Holder<JukeboxSong> p_350918_, BlockPos p_350830_) -
Uses of JukeboxSong in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type JukeboxSongModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<JukeboxSong>> Registries.JUKEBOX_SONG
-
Uses of JukeboxSong in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type JukeboxSongModifier 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
Methods in net.minecraft.world.item that return JukeboxSongMethods in net.minecraft.world.item that return types with arguments of type JukeboxSongModifier 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.Method parameters in net.minecraft.world.item with type arguments of type JukeboxSongModifier 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_) Constructor parameters in net.minecraft.world.item with type arguments of type JukeboxSongModifierConstructorDescriptionJukeboxPlayable
(EitherHolder<JukeboxSong> song, boolean showInTooltip) Creates an instance of aJukeboxPlayable
record class. -
Uses of JukeboxSong in net.neoforged.neoforge.oldtest.item
Fields in net.neoforged.neoforge.oldtest.item with type parameters of type JukeboxSongModifier and TypeFieldDescriptionprivate static final ResourceKey
<JukeboxSong> MusicDiscTest.TEST_SONG