枚举 RealmsLongConfirmationScreen.Type

    • 枚举常量详细资料

      • Warning

        public static final RealmsLongConfirmationScreen.Type Warning
        Mappings:
        Namespace Name Mixin selector
        official a Ldsa$a;a:Ldsa$a;
        intermediary field_19903 Lnet/minecraft/class_4396$class_4397;field_19903:Lnet/minecraft/class_4396$class_4397;
        named Warning Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;Warning:Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;
      • Info

        public static final RealmsLongConfirmationScreen.Type Info
        Mappings:
        Namespace Name Mixin selector
        official b Ldsa$a;b:Ldsa$a;
        intermediary field_19904 Lnet/minecraft/class_4396$class_4397;field_19904:Lnet/minecraft/class_4396$class_4397;
        named Info Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;Info:Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;
    • 字段详细资料

      • colorCode

        public final int colorCode
        Mappings:
        Namespace Name Mixin selector
        official c Ldsa$a;c:I
        intermediary field_19905 Lnet/minecraft/class_4396$class_4397;field_19905:I
        named colorCode Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;colorCode:I
      • text

        public final String text
        Mappings:
        Namespace Name Mixin selector
        official d Ldsa$a;d:Ljava/lang/String;
        intermediary field_19906 Lnet/minecraft/class_4396$class_4397;field_19906:Ljava/lang/String;
        named text Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;text:Ljava/lang/String;
    • 构造器详细资料

      • Type

        private Type​(String text,
                     int colorCode)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldsa$a;<init>(Ljava/lang/String;ILjava/lang/String;I)V
        intermediary <init> Lnet/minecraft/class_4396$class_4397;<init>(Ljava/lang/String;ILjava/lang/String;I)V
        named <init> Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;<init>(Ljava/lang/String;ILjava/lang/String;I)V
    • 方法详细资料

      • values

        public static RealmsLongConfirmationScreen.Type[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (RealmsLongConfirmationScreen.Type c : RealmsLongConfirmationScreen.Type.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static RealmsLongConfirmationScreen.Type valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值