Uses of Interface
io.papermc.paper.registry.data.JukeboxSongRegistryEntry.Builder
Packages that use JukeboxSongRegistryEntry.Builder
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent
.This package contains events related to the Paper registry system.
-
Uses of JukeboxSongRegistryEntry.Builder in io.papermc.paper.registry.data
Methods in io.papermc.paper.registry.data that return JukeboxSongRegistryEntry.BuilderModifier and TypeMethodDescriptionJukeboxSongRegistryEntry.Builder.comparatorOutput
(@org.jetbrains.annotations.Range(from=0L, to=15L) int comparatorOutput) Sets the comparator output for this song.JukeboxSongRegistryEntry.Builder.description
(Component description) Sets the description for this song.JukeboxSongRegistryEntry.Builder.lengthInSeconds
(@org.checkerframework.checker.index.qual.Positive float lengthInSeconds) Sets the length in seconds for this song.JukeboxSongRegistryEntry.Builder.soundEvent
(RegistryHolder<Sound, SoundEventRegistryEntry> soundEvent) Sets the sound event for this song.JukeboxSongRegistryEntry.Builder.soundEvent
(TypedKey<Sound> soundEvent) Sets the sound event for this song to a sound event present in theRegistryKey.SOUND_EVENT
registry.JukeboxSongRegistryEntry.Builder.soundEvent
(Consumer<RegistryBuilderFactory<Sound, ? extends SoundEventRegistryEntry.Builder>> soundEvent) Sets the sound event for this song to a new sound event. -
Uses of JukeboxSongRegistryEntry.Builder in io.papermc.paper.registry.event
Fields in io.papermc.paper.registry.event with type parameters of type JukeboxSongRegistryEntry.BuilderModifier and TypeFieldDescriptionstatic final RegistryEventProvider
<JukeboxSong, JukeboxSongRegistryEntry.Builder> RegistryEvents.JUKEBOX_SONG