Uses of Record Class
net.minecraft.block.jukebox.JukeboxSong
Package
Description
-
Uses of JukeboxSong in net.minecraft.block.jukebox
Modifier 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
Modifier and TypeMethodDescriptionstatic Optional
<RegistryEntry<JukeboxSong>> JukeboxSong.getSongEntryFromStack
(RegistryWrapper.WrapperLookup registries, ItemStack stack) private static RegistryKey
<JukeboxSong> Modifier 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
Modifier and TypeMethodDescriptionprivate void
WorldEventHandler.playJukeboxSong
(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) -
Uses of JukeboxSong in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final RegistryPair
<JukeboxSong> JukeboxPlayableComponent.song
The field for thesong
record component.Modifier and TypeMethodDescriptionJukeboxPlayableComponent.song()
Returns the value of thesong
record component.ModifierConstructorDescriptionJukeboxPlayableComponent
(RegistryPair<JukeboxSong> registryPair, boolean bool) -
Uses of JukeboxSong in net.minecraft.item
Modifier and TypeMethodDescriptionItem.Settings.jukeboxPlayable
(RegistryKey<JukeboxSong> songKey) -
Uses of JukeboxSong in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntryList<JukeboxSong>> JukeboxPlayablePredicate.song
The field for thesong
record component.Modifier and TypeMethodDescriptionJukeboxPlayablePredicate.song()
Returns the value of thesong
record component.ModifierConstructorDescriptionJukeboxPlayablePredicate
(Optional<RegistryEntryList<JukeboxSong>> optional) -
Uses of JukeboxSong in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<JukeboxSong>> RegistryKeys.JUKEBOX_SONG