程序包 org.bukkit.packs

接口 ResourcePack


public interface ResourcePack
代表一个资源包.
另请参阅:
  • 方法详细资料

    • getId

      获取资源包的ID.

      原文: Gets the id of the resource pack.

      返回:
      ID
    • getUrl

      获取资源包的URL.

      原文: Gets the url of the resource pack.

      返回:
      URL
    • getHash

      获取资源包的哈希值.

      原文: Gets the hash of the resource pack.

      返回:
      哈希值
    • getPrompt

      获取资源包显示的提示信息.

      原文: Gets the prompt to show of the resource pack.

      返回:
      提示信息
    • isRequired

      boolean isRequired()
      获取资源包是否被服务器要求.

      原文: Gets if the resource pack is required by the server.

      返回:
      如果是必需的则为True