枚举 FillCommand.Mode

    • 枚举常量详细资料

      • REPLACE

        public static final FillCommand.Mode REPLACE
        Mappings:
        Namespace Name Mixin selector
        official a Lyd$a;a:Lyd$a;
        intermediary field_13655 Lnet/minecraft/class_3057$class_3058;field_13655:Lnet/minecraft/class_3057$class_3058;
        named REPLACE Lnet/minecraft/server/command/FillCommand$Mode;REPLACE:Lnet/minecraft/server/command/FillCommand$Mode;
      • OUTLINE

        public static final FillCommand.Mode OUTLINE
        Mappings:
        Namespace Name Mixin selector
        official b Lyd$a;b:Lyd$a;
        intermediary field_13652 Lnet/minecraft/class_3057$class_3058;field_13652:Lnet/minecraft/class_3057$class_3058;
        named OUTLINE Lnet/minecraft/server/command/FillCommand$Mode;OUTLINE:Lnet/minecraft/server/command/FillCommand$Mode;
      • HOLLOW

        public static final FillCommand.Mode HOLLOW
        Mappings:
        Namespace Name Mixin selector
        official c Lyd$a;c:Lyd$a;
        intermediary field_13656 Lnet/minecraft/class_3057$class_3058;field_13656:Lnet/minecraft/class_3057$class_3058;
        named HOLLOW Lnet/minecraft/server/command/FillCommand$Mode;HOLLOW:Lnet/minecraft/server/command/FillCommand$Mode;
      • DESTROY

        public static final FillCommand.Mode DESTROY
        Mappings:
        Namespace Name Mixin selector
        official d Lyd$a;d:Lyd$a;
        intermediary field_13651 Lnet/minecraft/class_3057$class_3058;field_13651:Lnet/minecraft/class_3057$class_3058;
        named DESTROY Lnet/minecraft/server/command/FillCommand$Mode;DESTROY:Lnet/minecraft/server/command/FillCommand$Mode;
    • 字段详细资料

      • filter

        public final SetBlockCommand.Filter filter
        Mappings:
        Namespace Name Mixin selector
        official e Lyd$a;e:Lzi$a;
        intermediary field_13654 Lnet/minecraft/class_3057$class_3058;field_13654:Lnet/minecraft/class_3119$class_3120;
        named filter Lnet/minecraft/server/command/FillCommand$Mode;filter:Lnet/minecraft/server/command/SetBlockCommand$Filter;
    • 构造器详细资料

      • Mode

        private Mode​(SetBlockCommand.Filter filter)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lyd$a;<init>(Ljava/lang/String;ILzi$a;)V
        intermediary <init> Lnet/minecraft/class_3057$class_3058;<init>(Ljava/lang/String;ILnet/minecraft/class_3119$class_3120;)V
        named <init> Lnet/minecraft/server/command/FillCommand$Mode;<init>(Ljava/lang/String;ILnet/minecraft/server/command/SetBlockCommand$Filter;)V
    • 方法详细资料

      • values

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

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