Interface ResourcePack


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

    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

    • getId

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

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

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

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

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