Interface ResourcePack


public interface ResourcePack
Represents a resource pack.
Since:
1.20.4
See Also:
  • Method Details

    • getId

      Gets the id of the resource pack.
      Returns:
      the id
      Since:
      1.20.4
    • getUrl

      Gets the url of the resource pack.
      Returns:
      the url
      Since:
      1.20.4
    • getHash

      Gets the hash of the resource pack.
      Returns:
      the hash
      Since:
      1.20.4
    • getPrompt

      Gets the prompt to show of the resource pack.
      Returns:
      the prompt
      Since:
      1.20.4
    • isRequired

      boolean isRequired()
      Gets if the resource pack is required by the server.
      Returns:
      True if is required
      Since:
      1.20.4