Interface ResourcePack


public interface ResourcePack
Represents a resource pack.
See Also:
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Gets the hash of the resource pack.
    Gets the id of the resource pack.
    Gets the prompt to show of the resource pack.
    Gets the url of the resource pack.
    boolean
    Gets if the resource pack is required by the server.
  • Method Details Link icon

    • getId Link icon

      @NotNull UUID getId()
      Gets the id of the resource pack.
      Returns:
      the id
    • getUrl Link icon

      @NotNull String getUrl()
      Gets the url of the resource pack.
      Returns:
      the url
    • getHash Link icon

      @Nullable String getHash()
      Gets the hash of the resource pack.
      Returns:
      the hash
    • getPrompt Link icon

      @Nullable String getPrompt()
      Gets the prompt to show of the resource pack.
      Returns:
      the prompt
    • isRequired Link icon

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