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> song, BlockPos pos) -
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 registries, ItemStack stack) 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> context) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> song) voidJukeboxSongPlayer.play(LevelAccessor level, Holder<JukeboxSong> song) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> context, ResourceKey<JukeboxSong> key, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> context, ResourceKey<JukeboxSong> key, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) voidJukeboxSongPlayer.setSongWithoutPlaying(Holder<JukeboxSong> song, long ticksSinceSongStarted) Constructor parameters in net.minecraft.world.item with type arguments of type JukeboxSongModifierConstructorDescriptionJukeboxPlayable(EitherHolder<JukeboxSong> song, boolean showInTooltip) Creates an instance of aJukeboxPlayablerecord class.