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.songThe field for thesongrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type JukeboxSongModifier and TypeMethodDescriptionItemJukeboxPlayablePredicate.song()Returns the value of thesongrecord component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type JukeboxSongModifierConstructorDescriptionCreates an instance of aItemJukeboxPlayablePredicaterecord class. -
Uses of JukeboxSong in net.minecraft.client.renderer
Method parameters in net.minecraft.client.renderer with type arguments of type JukeboxSongModifier and TypeMethodDescriptionvoidLevelRenderer.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.BLOCKSstatic final ResourceKey<JukeboxSong> JukeboxSongs.CATstatic final ResourceKey<JukeboxSong> JukeboxSongs.CHIRPstatic final com.mojang.serialization.Codec<Holder<JukeboxSong>> JukeboxSong.CODECstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATORstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATOR_MUSIC_BOXstatic final com.mojang.serialization.Codec<JukeboxSong> JukeboxSong.DIRECT_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, JukeboxSong> JukeboxSong.DIRECT_STREAM_CODECstatic final ResourceKey<JukeboxSong> JukeboxSongs.ELEVENstatic final ResourceKey<JukeboxSong> JukeboxSongs.FARstatic final ResourceKey<JukeboxSong> JukeboxSongs.FIVEstatic final ResourceKey<JukeboxSong> JukeboxSongs.MALLstatic final ResourceKey<JukeboxSong> JukeboxSongs.MELLOHIstatic final ResourceKey<JukeboxSong> JukeboxSongs.OTHERSIDEstatic final ResourceKey<JukeboxSong> JukeboxSongs.PIGSTEPstatic final ResourceKey<JukeboxSong> JukeboxSongs.PRECIPICEstatic final ResourceKey<JukeboxSong> JukeboxSongs.RELICprivate final EitherHolder<JukeboxSong> JukeboxPlayable.songThe field for thesongrecord component.private Holder<JukeboxSong> JukeboxSongPlayer.songstatic final ResourceKey<JukeboxSong> JukeboxSongs.STALstatic final ResourceKey<JukeboxSong> JukeboxSongs.STRADstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODECstatic final ResourceKey<JukeboxSong> JukeboxSongs.THIRTEENstatic final ResourceKey<JukeboxSong> JukeboxSongs.WAITstatic final ResourceKey<JukeboxSong> JukeboxSongs.WARDMethods 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 thesongrecord component.Method parameters in net.minecraft.world.item with type arguments of type JukeboxSongModifier and TypeMethodDescriptionstatic voidJukeboxSongs.bootstrap(BootstrapContext<JukeboxSong> p_350269_) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> p_350862_) voidJukeboxSongPlayer.play(LevelAccessor p_350839_, Holder<JukeboxSong> p_350771_) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> p_350719_, ResourceKey<JukeboxSong> p_350460_, Holder.Reference<SoundEvent> p_350456_, int p_350314_, int p_350919_) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> p_350719_, ResourceKey<JukeboxSong> p_350460_, Holder.Reference<SoundEvent> p_350456_, int p_350314_, int p_350919_) voidJukeboxSongPlayer.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 aJukeboxPlayablerecord 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