枚举 RealmsWorldGeneratorType
- java.lang.Object
-
- java.lang.Enum<RealmsWorldGeneratorType>
-
- net.minecraft.client.realms.gui.screen.RealmsWorldGeneratorType
-
- 所有已实现的接口:
Serializable,Comparable<RealmsWorldGeneratorType>
@Environment(CLIENT) public enum RealmsWorldGeneratorType extends Enum<RealmsWorldGeneratorType>
- Mappings:
Namespace Name official dsyintermediary net/minecraft/class_5672named net/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType
-
-
枚举常量概要
枚举常量 枚举常量 说明 AMPLIFIEDDEFAULTFLATLARGE_BIOMES
-
构造器概要
构造器 限定符 构造器 说明 privateRealmsWorldGeneratorType(int id, Text text)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetId()TextgetText()static RealmsWorldGeneratorTypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static RealmsWorldGeneratorType[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
DEFAULT
public static final RealmsWorldGeneratorType DEFAULT
- Mappings:
Namespace Name Mixin selector official aLdsy;a:Ldsy;intermediary field_27944Lnet/minecraft/class_5672;field_27944:Lnet/minecraft/class_5672;named DEFAULTLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;DEFAULT:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
-
FLAT
public static final RealmsWorldGeneratorType FLAT
- Mappings:
Namespace Name Mixin selector official bLdsy;b:Ldsy;intermediary field_27945Lnet/minecraft/class_5672;field_27945:Lnet/minecraft/class_5672;named FLATLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;FLAT:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
-
LARGE_BIOMES
public static final RealmsWorldGeneratorType LARGE_BIOMES
- Mappings:
Namespace Name Mixin selector official cLdsy;c:Ldsy;intermediary field_27946Lnet/minecraft/class_5672;field_27946:Lnet/minecraft/class_5672;named LARGE_BIOMESLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;LARGE_BIOMES:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
-
AMPLIFIED
public static final RealmsWorldGeneratorType AMPLIFIED
- Mappings:
Namespace Name Mixin selector official dLdsy;d:Ldsy;intermediary field_27947Lnet/minecraft/class_5672;field_27947:Lnet/minecraft/class_5672;named AMPLIFIEDLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;AMPLIFIED:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
-
-
字段详细资料
-
id
private final int id
- Mappings:
Namespace Name Mixin selector official eLdsy;e:Iintermediary field_27948Lnet/minecraft/class_5672;field_27948:Inamed idLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;id:I
-
text
private final Text text
- Mappings:
Namespace Name Mixin selector official fLdsy;f:Lon;intermediary field_27949Lnet/minecraft/class_5672;field_27949:Lnet/minecraft/class_2561;named textLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;text:Lnet/minecraft/text/Text;
-
-
构造器详细资料
-
RealmsWorldGeneratorType
private RealmsWorldGeneratorType(int id, Text text)- Mappings:
Namespace Name Mixin selector official <init>Ldsy;<init>(Ljava/lang/String;IILon;)Vintermediary <init>Lnet/minecraft/class_5672;<init>(Ljava/lang/String;IILnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;<init>(Ljava/lang/String;IILnet/minecraft/text/Text;)V
-
-
方法详细资料
-
values
public static RealmsWorldGeneratorType[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (RealmsWorldGeneratorType c : RealmsWorldGeneratorType.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static RealmsWorldGeneratorType valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getText
public Text getText()
- Mappings:
Namespace Name Mixin selector official aLdsy;a()Lon;intermediary method_32506Lnet/minecraft/class_5672;method_32506()Lnet/minecraft/class_2561;named getTextLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;getText()Lnet/minecraft/text/Text;
-
getId
public int getId()
- Mappings:
Namespace Name Mixin selector official bLdsy;b()Iintermediary method_32507Lnet/minecraft/class_5672;method_32507()Inamed getIdLnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;getId()I
-
-