Interface ResourcePack


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

    Modifier and Type
    Method
    Description
    @Nullable String
    Gets the hash of the resource pack.
    @NotNull UUID
    Gets the id of the resource pack.
    @Nullable String
    Gets the prompt to show of the resource pack.
    @NotNull String
    Gets the url of the resource pack.
    boolean
    Gets if the resource pack is required by the server.
  • Method Details

    • getId

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

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

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

      @Nullable @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