Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.server.command.CloneCommand
- Mappings:
Namespace Name official xx
intermediary net/minecraft/class_3023
named net/minecraft/server/command/CloneCommand
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static enum
-
Field Summary
Modifier 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
-
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)
-
Field Details
-
MAX_BLOCKS
private static final int MAX_BLOCKS- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lxx;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
Lxx;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
Lxx;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
Lxx;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
Lxx;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
- Mappings:
Namespace Name Mixin selector official a
Lxx;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
Lxx;a(Ldl;Lgg;Lgg;Lgg;Ljava/util/function/Predicate;Lxx$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
-