public static enum PlayerResourcePackStatusEvent.Status extends Enum<PlayerResourcePackStatusEvent.Status>
列挙型定数と説明 |
---|
ACCEPTED
The client accepted the pack and is beginning a download of it.
|
DECLINED
The client refused to accept the resource pack.
|
FAILED_DOWNLOAD
The client accepted the pack, but download failed.
|
SUCCESSFULLY_LOADED
The resource pack has been successfully downloaded and applied to the
client.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static PlayerResourcePackStatusEvent.Status |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PlayerResourcePackStatusEvent.Status[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final PlayerResourcePackStatusEvent.Status SUCCESSFULLY_LOADED
public static final PlayerResourcePackStatusEvent.Status DECLINED
public static final PlayerResourcePackStatusEvent.Status FAILED_DOWNLOAD
public static final PlayerResourcePackStatusEvent.Status ACCEPTED
public static PlayerResourcePackStatusEvent.Status[] values()
for(PlayerResourcePackStatusEvent.Status c: PlayerResourcePackStatusEvent.Status.values()) System.out.println(c);
public static PlayerResourcePackStatusEvent.Status valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.