枚举 AdvancementCommand.Selection

    • 枚举常量详细资料

      • ONLY

        public static final AdvancementCommand.Selection ONLY
        Mappings:
        Namespace Name Mixin selector
        official a Lxj$b;a:Lxj$b;
        intermediary field_13464 Lnet/minecraft/class_3008$class_3010;field_13464:Lnet/minecraft/class_3008$class_3010;
        named ONLY Lnet/minecraft/server/command/AdvancementCommand$Selection;ONLY:Lnet/minecraft/server/command/AdvancementCommand$Selection;
      • THROUGH

        public static final AdvancementCommand.Selection THROUGH
        Mappings:
        Namespace Name Mixin selector
        official b Lxj$b;b:Lxj$b;
        intermediary field_13462 Lnet/minecraft/class_3008$class_3010;field_13462:Lnet/minecraft/class_3008$class_3010;
        named THROUGH Lnet/minecraft/server/command/AdvancementCommand$Selection;THROUGH:Lnet/minecraft/server/command/AdvancementCommand$Selection;
      • FROM

        public static final AdvancementCommand.Selection FROM
        Mappings:
        Namespace Name Mixin selector
        official c Lxj$b;c:Lxj$b;
        intermediary field_13458 Lnet/minecraft/class_3008$class_3010;field_13458:Lnet/minecraft/class_3008$class_3010;
        named FROM Lnet/minecraft/server/command/AdvancementCommand$Selection;FROM:Lnet/minecraft/server/command/AdvancementCommand$Selection;
      • UNTIL

        public static final AdvancementCommand.Selection UNTIL
        Mappings:
        Namespace Name Mixin selector
        official d Lxj$b;d:Lxj$b;
        intermediary field_13465 Lnet/minecraft/class_3008$class_3010;field_13465:Lnet/minecraft/class_3008$class_3010;
        named UNTIL Lnet/minecraft/server/command/AdvancementCommand$Selection;UNTIL:Lnet/minecraft/server/command/AdvancementCommand$Selection;
      • EVERYTHING

        public static final AdvancementCommand.Selection EVERYTHING
        Mappings:
        Namespace Name Mixin selector
        official e Lxj$b;e:Lxj$b;
        intermediary field_13461 Lnet/minecraft/class_3008$class_3010;field_13461:Lnet/minecraft/class_3008$class_3010;
        named EVERYTHING Lnet/minecraft/server/command/AdvancementCommand$Selection;EVERYTHING:Lnet/minecraft/server/command/AdvancementCommand$Selection;
    • 字段详细资料

      • before

        private final boolean before
        Mappings:
        Namespace Name Mixin selector
        official f Lxj$b;f:Z
        intermediary field_13460 Lnet/minecraft/class_3008$class_3010;field_13460:Z
        named before Lnet/minecraft/server/command/AdvancementCommand$Selection;before:Z
      • after

        private final boolean after
        Mappings:
        Namespace Name Mixin selector
        official g Lxj$b;g:Z
        intermediary field_13459 Lnet/minecraft/class_3008$class_3010;field_13459:Z
        named after Lnet/minecraft/server/command/AdvancementCommand$Selection;after:Z
    • 构造器详细资料

      • Selection

        private Selection​(boolean before,
                          boolean after)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lxj$b;<init>(Ljava/lang/String;IZZ)V
        intermediary <init> Lnet/minecraft/class_3008$class_3010;<init>(Ljava/lang/String;IZZ)V
        named <init> Lnet/minecraft/server/command/AdvancementCommand$Selection;<init>(Ljava/lang/String;IZZ)V
    • 方法详细资料

      • values

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

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