枚举 RealmsWorldGeneratorType

    • 枚举常量详细资料

      • DEFAULT

        public static final RealmsWorldGeneratorType DEFAULT
        Mappings:
        Namespace Name Mixin selector
        official a Ldsy;a:Ldsy;
        intermediary field_27944 Lnet/minecraft/class_5672;field_27944:Lnet/minecraft/class_5672;
        named DEFAULT Lnet/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 b Ldsy;b:Ldsy;
        intermediary field_27945 Lnet/minecraft/class_5672;field_27945:Lnet/minecraft/class_5672;
        named FLAT Lnet/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 c Ldsy;c:Ldsy;
        intermediary field_27946 Lnet/minecraft/class_5672;field_27946:Lnet/minecraft/class_5672;
        named LARGE_BIOMES Lnet/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 d Ldsy;d:Ldsy;
        intermediary field_27947 Lnet/minecraft/class_5672;field_27947:Lnet/minecraft/class_5672;
        named AMPLIFIED Lnet/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 e Ldsy;e:I
        intermediary field_27948 Lnet/minecraft/class_5672;field_27948:I
        named id Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;id:I
      • text

        private final Text text
        Mappings:
        Namespace Name Mixin selector
        official f Ldsy;f:Lon;
        intermediary field_27949 Lnet/minecraft/class_5672;field_27949:Lnet/minecraft/class_2561;
        named text Lnet/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;)V
        intermediary <init> Lnet/minecraft/class_5672;<init>(Ljava/lang/String;IILnet/minecraft/class_2561;)V
        named <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 a Ldsy;a()Lon;
        intermediary method_32506 Lnet/minecraft/class_5672;method_32506()Lnet/minecraft/class_2561;
        named getText Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;getText()Lnet/minecraft/text/Text;
      • getId

        public int getId()
        Mappings:
        Namespace Name Mixin selector
        official b Ldsy;b()I
        intermediary method_32507 Lnet/minecraft/class_5672;method_32507()I
        named getId Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;getId()I