Interface AudioRegion


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

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

    • getMedia

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

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

      @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