Class CloneCommand

java.lang.Object
net.minecraft.server.command.CloneCommand

public class CloneCommand extends Object
Mappings:
Namespace Name
official ado
intermediary net/minecraft/class_3023
named net/minecraft/server/command/CloneCommand
  • Field Details

    • MAX_BLOCKS

      private static final int MAX_BLOCKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lado;b:I
      intermediary field_33386 Lnet/minecraft/class_3023;field_33386:I
      named MAX_BLOCKS Lnet/minecraft/server/command/CloneCommand;MAX_BLOCKS:I
    • OVERLAP_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official c Lado;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13493 Lnet/minecraft/class_3023;field_13493:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named OVERLAP_EXCEPTION Lnet/minecraft/server/command/CloneCommand;OVERLAP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TOO_BIG_EXCEPTION

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official d Lado;d:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_13491 Lnet/minecraft/class_3023;field_13491:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named TOO_BIG_EXCEPTION Lnet/minecraft/server/command/CloneCommand;TOO_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official e Lado;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13492 Lnet/minecraft/class_3023;field_13492:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named FAILED_EXCEPTION Lnet/minecraft/server/command/CloneCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • IS_AIR_PREDICATE

      public static final Predicate<CachedBlockPosition> IS_AIR_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a:Ljava/util/function/Predicate;
      intermediary field_13490 Lnet/minecraft/class_3023;field_13490:Ljava/util/function/Predicate;
      named IS_AIR_PREDICATE Lnet/minecraft/server/command/CloneCommand;IS_AIR_PREDICATE:Ljava/util/function/Predicate;
  • Constructor Details

    • CloneCommand

      public CloneCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Lcom/mojang/brigadier/CommandDispatcher;Ldi;)V
      intermediary method_13089 Lnet/minecraft/class_3023;method_13089(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      named register Lnet/minecraft/server/command/CloneCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
    • execute

      private static int execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ldn;Lgp;Lgp;Lgp;Ljava/util/function/Predicate;Lado$b;)I
      intermediary method_13090 Lnet/minecraft/class_3023;method_13090(Lnet/minecraft/class_2168;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Ljava/util/function/Predicate;Lnet/minecraft/class_3023$class_3025;)I
      named execute Lnet/minecraft/server/command/CloneCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;Lnet/minecraft/server/command/CloneCommand$Mode;)I