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> pSong, BlockPos pPos) -
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 pRegistries, ItemStack pStack) 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> pContext) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> pSong) voidJukeboxSongPlayer.play(LevelAccessor pLevel, Holder<JukeboxSong> pSong) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> pContext, ResourceKey<JukeboxSong> pKey, Holder.Reference<SoundEvent> pSoundEvent, int pLengthInSeconds, int pComparatorOutput) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> pContext, ResourceKey<JukeboxSong> pKey, Holder.Reference<SoundEvent> pSoundEvent, int pLengthInSeconds, int pComparatorOutput) voidJukeboxSongPlayer.setSongWithoutPlaying(Holder<JukeboxSong> pSong, long pTicksSinceSongStarted) Constructor parameters in net.minecraft.world.item with type arguments of type JukeboxSongModifierConstructorDescriptionJukeboxPlayable(EitherHolder<JukeboxSong> song, boolean showInTooltip) Creates an instance of aJukeboxPlayablerecord class.