Package io.papermc.paper.registry.data
Interface JukeboxSongRegistryEntry
- All Known Subinterfaces:
JukeboxSongRegistryEntry.Builder
A data-centric version-specific registry entry for the
JukeboxSong
type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A mutable builder for theJukeboxSongRegistryEntry
plugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescription@org.jetbrains.annotations.Range(from=0L, to=15L) int
Gets the comparator output for this song.Gets the description for this song.@org.checkerframework.checker.index.qual.Positive float
Gets the length in seconds for this song.Gets the sound event for this song.
-
Method Details
-
soundEvent
Gets the sound event for this song.- Returns:
- the sound event
-
description
Gets the description for this song.- Returns:
- the description
-
lengthInSeconds
Gets the length in seconds for this song.- Returns:
- the length in seconds
-
comparatorOutput
Gets the comparator output for this song.- Returns:
- the comparator output
-