Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.server.command.CloneCommand
- Mappings:
Namespace Name official acj
intermediary net/minecraft/class_3023
named net/minecraft/server/command/CloneCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final Predicate<CachedBlockPosition>
private static final int
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
-
Field Details
-
MAX_BLOCKS
private static final int MAX_BLOCKS- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lacj;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
Lacj;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
Lacj;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
Lacj;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
- Mappings:
Namespace Name Mixin selector official a
Lacj;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
Lacj;a(Lcom/mojang/brigadier/CommandDispatcher;Ldl;)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
Lacj;a(Ldr;Lgt;Lgt;Lgt;Ljava/util/function/Predicate;Lacj$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
-