程序包 org.bukkit.packs

# 接口 ResourcePack

public interface ResourcePack
Represents a resource pack.

另请参阅:
  - Minecraft wiki

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@Nullable String`
  `getHash()`
  Gets the hash of the resource pack.
  `@NotNull UUID`
  `getId()`
  Gets the id of the resource pack.
  `@Nullable String`
  `getPrompt()`
  Gets the prompt to show of the resource pack.
  `@NotNull String`
  `getUrl()`
  Gets the url of the resource pack.
  `boolean`
  `isRequired()`
  Gets if the resource pack is required by the server.

- ## 方法详细资料

  - ### getId

    @NotNull @NotNull UUID getId()
    Gets the id of the resource pack.
    返回:
      the id

  - ### getUrl

    @NotNull @NotNull String getUrl()
    Gets the url of the resource pack.
    返回:
      the url

  - ### getHash

    @Nullable @Nullable String getHash()
    Gets the hash of the resource pack.
    返回:
      the hash

  - ### getPrompt

    @Nullable @Nullable String getPrompt()
    Gets the prompt to show of the resource pack.
    返回:
      the prompt

  - ### isRequired

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