Interface BasicSpeaker


public interface BasicSpeaker
Represents a basic speaker placed in the world Obtainable through the world api
  • Method Details

    • getLocation

      @NotNull @NotNull Loc getLocation()
      Get the location of the speaker
      Returns:
      location
    • getMedia

      @NotNull @NotNull Media getMedia()
      Get the media that's being played by this speaker
      Returns:
      media
    • getSpeakerId

      @NotNull @NotNull UUID getSpeakerId()
      Get the speaker id
      Returns:
      id
    • getSpeakerType

      SpeakerType getSpeakerType()
      Get the type of speaker (spatial audio, or static)
      Returns:
      speaker type
    • getExtraOptions

      @NotNull @NotNull Set<ExtraSpeakerOptions> getExtraOptions()
      Get extra options for the speaker
      Returns:
      options
    • getRadius

      @NotNull @NotNull Integer getRadius()
      Get the radius of the speaker
      Returns:
      radius
    • isRedstonePowered

      boolean isRedstonePowered()
      If this speaker is currently directly powered by redstone
      Returns:
      is powered