Enum Class CloneCommand.Mode

java.lang.Object
java.lang.Enum<CloneCommand.Mode>
net.minecraft.server.command.CloneCommand.Mode
All Implemented Interfaces:
Serializable, Comparable<CloneCommand.Mode>, Constable
Enclosing class:
CloneCommand

private static enum CloneCommand.Mode extends Enum<CloneCommand.Mode>
Mappings:
Namespace Name
named net/minecraft/server/command/CloneCommand$Mode
intermediary net/minecraft/class_3023$class_3025
official amf$e
  • Enum Constant Details

    • FORCE

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

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

      public static final CloneCommand.Mode NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/server/command/CloneCommand$Mode;NORMAL:Lnet/minecraft/server/command/CloneCommand$Mode;
      intermediary field_13499 Lnet/minecraft/class_3023$class_3025;field_13499:Lnet/minecraft/class_3023$class_3025;
      official c Lamf$e;c:Lamf$e;
  • Field Details

    • allowsOverlap

      private final boolean allowsOverlap
      Mappings:
      Namespace Name Mixin selector
      named allowsOverlap Lnet/minecraft/server/command/CloneCommand$Mode;allowsOverlap:Z
      intermediary field_13498 Lnet/minecraft/class_3023$class_3025;field_13498:Z
      official d Lamf$e;d:Z
  • Constructor Details

    • Mode

      private Mode(boolean allowsOverlap)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/command/CloneCommand$Mode;<init>(Ljava/lang/String;IZ)V
      intermediary <init> Lnet/minecraft/class_3023$class_3025;<init>(Ljava/lang/String;IZ)V
      official <init> Lamf$e;<init>(Ljava/lang/String;IZ)V
  • Method Details

    • values

      public static CloneCommand.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CloneCommand.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • allowsOverlap

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