枚举 RealmsPlayerScreen.PlayerOperation
- java.lang.Object
-
- java.lang.Enum<RealmsPlayerScreen.PlayerOperation>
-
- net.minecraft.client.realms.gui.screen.RealmsPlayerScreen.PlayerOperation
-
- 所有已实现的接口:
Serializable,Comparable<RealmsPlayerScreen.PlayerOperation>
- 封闭类:
- RealmsPlayerScreen
@Environment(CLIENT) static enum RealmsPlayerScreen.PlayerOperation extends Enum<RealmsPlayerScreen.PlayerOperation>
- Mappings:
Namespace Name official dsf$cintermediary net/minecraft/class_4406$class_5488named net/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation
-
-
构造器概要
构造器 限定符 构造器 说明 privatePlayerOperation()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static RealmsPlayerScreen.PlayerOperationvalueOf(String name)返回带有指定名称的该类型的枚举常量。static RealmsPlayerScreen.PlayerOperation[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
TOGGLE_OP
public static final RealmsPlayerScreen.PlayerOperation TOGGLE_OP
- Mappings:
Namespace Name Mixin selector official aLdsf$c;a:Ldsf$c;intermediary field_26502Lnet/minecraft/class_4406$class_5488;field_26502:Lnet/minecraft/class_4406$class_5488;named TOGGLE_OPLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;TOGGLE_OP:Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;
-
REMOVE
public static final RealmsPlayerScreen.PlayerOperation REMOVE
- Mappings:
Namespace Name Mixin selector official bLdsf$c;b:Ldsf$c;intermediary field_26503Lnet/minecraft/class_4406$class_5488;field_26503:Lnet/minecraft/class_4406$class_5488;named REMOVELnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;REMOVE:Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;
-
NONE
public static final RealmsPlayerScreen.PlayerOperation NONE
- Mappings:
Namespace Name Mixin selector official cLdsf$c;c:Ldsf$c;intermediary field_26504Lnet/minecraft/class_4406$class_5488;field_26504:Lnet/minecraft/class_4406$class_5488;named NONELnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;NONE:Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;
-
-
方法详细资料
-
values
public static RealmsPlayerScreen.PlayerOperation[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (RealmsPlayerScreen.PlayerOperation c : RealmsPlayerScreen.PlayerOperation.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static RealmsPlayerScreen.PlayerOperation valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-