Interface AudioRegion


public interface AudioRegion
Represents a region that can play audio. Obtainable through the world api
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Media
    Get the media playing in this region
    int
    Get the priority of this region
    @NotNull String
    Get the region id
    @Nullable String
    Get the world this region is in, can be null if its legacy
  • Method Details

    • getMedia

      @NotNull @NotNull Media getMedia()
      Get the media playing in this region
      Returns:
      media
    • getRegionId

      @NotNull @NotNull String getRegionId()
      Get the region id
      Returns:
      id
    • getWorld

      @Nullable @Nullable String getWorld()
      Get the world this region is in, can be null if its legacy
      Returns:
      world
    • getPriority

      int getPriority()
      Get the priority of this region
      Returns:
      priority