public enum KeyConflictContext extends java.lang.Enum<KeyConflictContext> implements IKeyConflictContext
| 列挙型定数と説明 |
|---|
GUI
Gui key bindings are only used when a
GuiScreen is open. |
IN_GAME
In-game key bindings are only used when a
GuiScreen is not open. |
UNIVERSAL
Universal key bindings are used in every context and will conflict with any other context.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static KeyConflictContext |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static KeyConflictContext[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfconflicts, isActivepublic static final KeyConflictContext UNIVERSAL
public static final KeyConflictContext GUI
GuiScreen is open.public static final KeyConflictContext IN_GAME
GuiScreen is not open.public static KeyConflictContext[] values()
for(KeyConflictContext c: KeyConflictContext.values()) System.out.println(c);
public static KeyConflictContext valueOf(java.lang.String name)
name - 返される列挙型定数の名前。java.lang.IllegalArgumentException - この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException - 引数がnullの場合