Class CloneCommand

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

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

    • OVERLAP_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lxc;b: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 c Lxc;c: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 d Lxc;d: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 Lxc;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)
      Mappings:
      Namespace Name Mixin selector
      official a Lxc;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13089 Lnet/minecraft/class_3023;method_13089(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/CloneCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)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 Lxc;a(Ldb;Lfx;Lfx;Lfx;Ljava/util/function/Predicate;Lxc$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