程序包 org.bukkit.event.player

# 枚举 PlayerResourcePackStatusEvent.Status

java.lang.Object
java.lang.Enum<PlayerResourcePackStatusEvent.Status>
org.bukkit.event.player.PlayerResourcePackStatusEvent.Status

所有已实现的接口:
  `Serializable`, `Comparable<PlayerResourcePackStatusEvent.Status>`, `Constable`

封闭类:
  PlayerResourcePackStatusEvent

public static enum PlayerResourcePackStatusEvent.Status extends Enum<PlayerResourcePackStatusEvent.Status>
资源包状态

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## 枚举常量概要

  枚举常量
  枚举常量
  说明
  `ACCEPTED`
  客户端接受了资源包, 并开始下载
  `DECLINED`
  客户端拒绝接受资源包
  `DISCARDED`
  The pack was discarded by the client.
  `DOWNLOADED`
  The client successfully downloaded the pack.
  `FAILED_DOWNLOAD`
  客户端接受了资源包, 但下载失败
  `FAILED_RELOAD`
  The client was unable to reload the pack.
  `INVALID_URL`
  The pack URL was invalid.
  `SUCCESSFULLY_LOADED`
  资源包成功地下载并应用到了客户端.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static PlayerResourcePackStatusEvent.Status`
  `valueOf(String name)`
  返回带有指定名称的该类型的枚举常量。
  `static PlayerResourcePackStatusEvent.Status[]`
  `values()`
  按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。

  ### 从类继承的方法 java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### 从类继承的方法 java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 枚举常量详细资料

  - ### SUCCESSFULLY_LOADED

    public static final PlayerResourcePackStatusEvent.Status SUCCESSFULLY_LOADED
    资源包成功地下载并应用到了客户端.

  - ### DECLINED

    public static final PlayerResourcePackStatusEvent.Status DECLINED
    客户端拒绝接受资源包

  - ### FAILED_DOWNLOAD

    public static final PlayerResourcePackStatusEvent.Status FAILED_DOWNLOAD
    客户端接受了资源包, 但下载失败

  - ### ACCEPTED

    public static final PlayerResourcePackStatusEvent.Status ACCEPTED
    客户端接受了资源包, 并开始下载

  - ### DOWNLOADED

    public static final PlayerResourcePackStatusEvent.Status DOWNLOADED
    The client successfully downloaded the pack.

  - ### INVALID_URL

    public static final PlayerResourcePackStatusEvent.Status INVALID_URL
    The pack URL was invalid.

  - ### FAILED_RELOAD

    public static final PlayerResourcePackStatusEvent.Status FAILED_RELOAD
    The client was unable to reload the pack.

  - ### DISCARDED

    public static final PlayerResourcePackStatusEvent.Status DISCARDED
    The pack was discarded by the client.

- ## 方法详细资料

  - ### values

    public static PlayerResourcePackStatusEvent.Status[] values()
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
    返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

  - ### valueOf

    public static PlayerResourcePackStatusEvent.Status valueOf(String name)
    返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
    参数:
      `name` - 要返回的枚举常量的名称。
    返回:
      返回带有指定名称的枚举常量
    抛出:
      `IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
      `NullPointerException` - 如果参数为空值