枚举 CloneCommand.Mode

    • 枚举常量详细资料

      • FORCE

        public static final CloneCommand.Mode FORCE
        Mappings:
        Namespace Name Mixin selector
        official a Lxq$b;a:Lxq$b;
        intermediary field_13497 Lnet/minecraft/class_3023$class_3025;field_13497:Lnet/minecraft/class_3023$class_3025;
        named FORCE Lnet/minecraft/server/command/CloneCommand$Mode;FORCE:Lnet/minecraft/server/command/CloneCommand$Mode;
      • MOVE

        public static final CloneCommand.Mode MOVE
        Mappings:
        Namespace Name Mixin selector
        official b Lxq$b;b:Lxq$b;
        intermediary field_13500 Lnet/minecraft/class_3023$class_3025;field_13500:Lnet/minecraft/class_3023$class_3025;
        named MOVE Lnet/minecraft/server/command/CloneCommand$Mode;MOVE:Lnet/minecraft/server/command/CloneCommand$Mode;
      • NORMAL

        public static final CloneCommand.Mode NORMAL
        Mappings:
        Namespace Name Mixin selector
        official c Lxq$b;c:Lxq$b;
        intermediary field_13499 Lnet/minecraft/class_3023$class_3025;field_13499:Lnet/minecraft/class_3023$class_3025;
        named NORMAL Lnet/minecraft/server/command/CloneCommand$Mode;NORMAL:Lnet/minecraft/server/command/CloneCommand$Mode;
    • 字段详细资料

      • allowsOverlap

        private final boolean allowsOverlap
        Mappings:
        Namespace Name Mixin selector
        official d Lxq$b;d:Z
        intermediary field_13498 Lnet/minecraft/class_3023$class_3025;field_13498:Z
        named allowsOverlap Lnet/minecraft/server/command/CloneCommand$Mode;allowsOverlap:Z
    • 构造器详细资料

      • Mode

        private Mode​(boolean allowsOverlap)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lxq$b;<init>(Ljava/lang/String;IZ)V
        intermediary <init> Lnet/minecraft/class_3023$class_3025;<init>(Ljava/lang/String;IZ)V
        named <init> Lnet/minecraft/server/command/CloneCommand$Mode;<init>(Ljava/lang/String;IZ)V
    • 方法详细资料

      • values

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

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

        public boolean allowsOverlap()
        Mappings:
        Namespace Name Mixin selector
        official a Lxq$b;a()Z
        intermediary method_13109 Lnet/minecraft/class_3023$class_3025;method_13109()Z
        named allowsOverlap Lnet/minecraft/server/command/CloneCommand$Mode;allowsOverlap()Z