Interface JukeboxSongRegistryEntry

All Known Subinterfaces:
JukeboxSongRegistryEntry.Builder

@Experimental @NonExtendable public interface JukeboxSongRegistryEntry
A data-centric version-specific registry entry for the JukeboxSong type.
  • Method Details

    • soundEvent

      Gets the sound event for this song.
      Returns:
      the sound event
    • description

      @Contract(pure=true) Component description()
      Gets the description for this song.
      Returns:
      the description
    • lengthInSeconds

      @Contract(pure=true) @org.checkerframework.checker.index.qual.Positive float lengthInSeconds()
      Gets the length in seconds for this song.
      Returns:
      the length in seconds
    • comparatorOutput

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=15L) int comparatorOutput()
      Gets the comparator output for this song.
      Returns:
      the comparator output