Uses of Record Class
net.minecraft.block.jukebox.JukeboxSong
Packages that use JukeboxSong
Package
Description
-
Uses of JukeboxSong in net.minecraft.block.jukebox
Fields in net.minecraft.block.jukebox with type parameters of type JukeboxSongModifier and TypeFieldDescriptionstatic final RegistryKey
<JukeboxSong> JukeboxSongs.BLOCKS
static final RegistryKey
<JukeboxSong> JukeboxSongs.CAT
static final RegistryKey
<JukeboxSong> JukeboxSongs.CHIRP
static final com.mojang.serialization.Codec
<JukeboxSong> JukeboxSong.CODEC
static final RegistryKey
<JukeboxSong> JukeboxSongs.CREATOR
static final RegistryKey
<JukeboxSong> JukeboxSongs.CREATOR_MUSIC_BOX
static final RegistryKey
<JukeboxSong> JukeboxSongs.ELEVEN
static final com.mojang.serialization.Codec
<RegistryEntry<JukeboxSong>> JukeboxSong.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<JukeboxSong>> JukeboxSong.ENTRY_PACKET_CODEC
static final RegistryKey
<JukeboxSong> JukeboxSongs.FAR
static final RegistryKey
<JukeboxSong> JukeboxSongs.FIVE
static final RegistryKey
<JukeboxSong> JukeboxSongs.MALL
static final RegistryKey
<JukeboxSong> JukeboxSongs.MELLOHI
static final RegistryKey
<JukeboxSong> JukeboxSongs.OTHERSIDE
static final PacketCodec
<RegistryByteBuf, JukeboxSong> JukeboxSong.PACKET_CODEC
static final RegistryKey
<JukeboxSong> JukeboxSongs.PIGSTEP
static final RegistryKey
<JukeboxSong> JukeboxSongs.PRECIPICE
static final RegistryKey
<JukeboxSong> JukeboxSongs.RELIC
private @Nullable RegistryEntry
<JukeboxSong> JukeboxManager.song
static final RegistryKey
<JukeboxSong> JukeboxSongs.STAL
static final RegistryKey
<JukeboxSong> JukeboxSongs.STRAD
static final RegistryKey
<JukeboxSong> JukeboxSongs.THIRTEEN
static final RegistryKey
<JukeboxSong> JukeboxSongs.WAIT
static final RegistryKey
<JukeboxSong> JukeboxSongs.WARD
Methods in net.minecraft.block.jukebox that return JukeboxSongMethods in net.minecraft.block.jukebox that return types with arguments of type JukeboxSongModifier and TypeMethodDescriptionstatic Optional
<RegistryEntry<JukeboxSong>> JukeboxSong.getSongEntryFromStack
(RegistryWrapper.WrapperLookup registries, ItemStack stack) private static RegistryKey
<JukeboxSong> Method parameters in net.minecraft.block.jukebox with type arguments of type JukeboxSongModifier and TypeMethodDescriptionstatic void
JukeboxSongs.bootstrap
(Registerable<JukeboxSong> registry) private static void
JukeboxSongs.register
(Registerable<JukeboxSong> registry, RegistryKey<JukeboxSong> key, RegistryEntry.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) private static void
JukeboxSongs.register
(Registerable<JukeboxSong> registry, RegistryKey<JukeboxSong> key, RegistryEntry.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) void
JukeboxManager.setValues
(RegistryEntry<JukeboxSong> song, long ticksPlaying) void
JukeboxManager.startPlaying
(WorldAccess world, RegistryEntry<JukeboxSong> song) -
Uses of JukeboxSong in net.minecraft.client.world
Method parameters in net.minecraft.client.world with type arguments of type JukeboxSongModifier and TypeMethodDescriptionprivate void
WorldEventHandler.playJukeboxSong
(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) -
Uses of JukeboxSong in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type JukeboxSongModifier and TypeFieldDescriptionprivate final RegistryPair
<JukeboxSong> JukeboxPlayableComponent.song
The field for thesong
record component.Methods in net.minecraft.component.type that return types with arguments of type JukeboxSongModifier and TypeMethodDescriptionJukeboxPlayableComponent.song()
Returns the value of thesong
record component.Constructor parameters in net.minecraft.component.type with type arguments of type JukeboxSongModifierConstructorDescriptionJukeboxPlayableComponent
(RegistryPair<JukeboxSong> registryPair, boolean bool) -
Uses of JukeboxSong in net.minecraft.item
Method parameters in net.minecraft.item with type arguments of type JukeboxSongModifier and TypeMethodDescriptionItem.Settings.jukeboxPlayable
(RegistryKey<JukeboxSong> songKey) -
Uses of JukeboxSong in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type JukeboxSongModifier and TypeFieldDescriptionprivate final Optional
<RegistryEntryList<JukeboxSong>> JukeboxPlayablePredicate.song
The field for thesong
record component.Methods in net.minecraft.predicate.item that return types with arguments of type JukeboxSongModifier and TypeMethodDescriptionJukeboxPlayablePredicate.song()
Returns the value of thesong
record component.Constructor parameters in net.minecraft.predicate.item with type arguments of type JukeboxSongModifierConstructorDescriptionJukeboxPlayablePredicate
(Optional<RegistryEntryList<JukeboxSong>> optional) -
Uses of JukeboxSong in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type JukeboxSongModifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<JukeboxSong>> RegistryKeys.JUKEBOX_SONG