Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.server.command.CloneCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/CloneCommand- intermediary - net/minecraft/class_3023- official - anh
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final recordprivate static final recordprivate static enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final Predicate<CachedBlockPosition> private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> appendMode(CommandRegistryAccess registries, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, boolean strict, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> createDestinationArgs(CommandRegistryAccess registries, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> currentWorldGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) private static CloneCommand.DimensionalPoscreateDimensionalPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> createModeArgs(ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, boolean strict, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> createSourceArgs(CommandRegistryAccess commandRegistryAccess, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) private static intexecute(ServerCommandSource source, CloneCommand.DimensionalPos begin, CloneCommand.DimensionalPos end, CloneCommand.DimensionalPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode, boolean strict) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) 
- 
Field Details- 
OVERLAP_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - OVERLAP_EXCEPTION- Lnet/minecraft/server/command/CloneCommand;OVERLAP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13493- Lnet/minecraft/class_3023;field_13493:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Lanh;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
TOO_BIG_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - TOO_BIG_EXCEPTION- Lnet/minecraft/server/command/CloneCommand;TOO_BIG_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- intermediary - field_13491- Lnet/minecraft/class_3023;field_13491:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- official - c- Lanh;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
 
- 
FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_EXCEPTION- Lnet/minecraft/server/command/CloneCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13492- Lnet/minecraft/class_3023;field_13492:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - d- Lanh;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
IS_AIR_PREDICATE- Mappings:
- Namespace - Name - Mixin selector - named - IS_AIR_PREDICATE- Lnet/minecraft/server/command/CloneCommand;IS_AIR_PREDICATE:Ljava/util/function/Predicate;- intermediary - field_13490- Lnet/minecraft/class_3023;field_13490:Ljava/util/function/Predicate;- official - a- Lanh;a:Ljava/util/function/Predicate;
 
 
- 
- 
Constructor Details- 
CloneCommandpublic CloneCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/CloneCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13089- Lnet/minecraft/class_3023;method_13089(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lanh;a(Lcom/mojang/brigadier/CommandDispatcher;Leg;)V
 
- 
createSourceArgsprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createSourceArgs(CommandRegistryAccess commandRegistryAccess, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) - Mappings:
- Namespace - Name - Mixin selector - named - createSourceArgs- Lnet/minecraft/server/command/CloneCommand;createSourceArgs(Lnet/minecraft/command/CommandRegistryAccess;Lnet/minecraft/command/ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- intermediary - method_48042- Lnet/minecraft/class_3023;method_48042(Lnet/minecraft/class_7157;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- official - a- Lanh;a(Leg;Laoe;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
 
- 
createDimensionalPosprivate static CloneCommand.DimensionalPos createDimensionalPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - createDimensionalPos- Lnet/minecraft/server/command/CloneCommand;createDimensionalPos(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;)Lnet/minecraft/server/command/CloneCommand$DimensionalPos;- intermediary - method_48040- Lnet/minecraft/class_3023;method_48040(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_3218;Ljava/lang/String;)Lnet/minecraft/class_3023$class_8010;- official - a- Lanh;a(Lcom/mojang/brigadier/context/CommandContext;Lasb;Ljava/lang/String;)Lanh$c;
 
- 
createDestinationArgsprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createDestinationArgs(CommandRegistryAccess registries, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> currentWorldGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) - Mappings:
- Namespace - Name - Mixin selector - named - createDestinationArgs- Lnet/minecraft/server/command/CloneCommand;createDestinationArgs(Lnet/minecraft/command/CommandRegistryAccess;Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- intermediary - method_65977- Lnet/minecraft/class_3023;method_65977(Lnet/minecraft/class_7157;Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- official - a- Lanh;a(Leg;Laoe;Laoe;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
 
- 
appendModeprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> appendMode(CommandRegistryAccess registries, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, boolean strict, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) - Mappings:
- Namespace - Name - Mixin selector - named - appendMode- Lnet/minecraft/server/command/CloneCommand;appendMode(Lnet/minecraft/command/CommandRegistryAccess;Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- intermediary - method_65978- Lnet/minecraft/class_3023;method_65978(Lnet/minecraft/class_7157;Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- official - a- Lanh;a(Leg;Laoe;Laoe;Laoe;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
 
- 
createModeArgsprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createModeArgs(ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, boolean strict, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) - Mappings:
- Namespace - Name - Mixin selector - named - createModeArgs- Lnet/minecraft/server/command/CloneCommand;createModeArgs(Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;Lnet/minecraft/command/ArgumentGetter;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- intermediary - method_48035- Lnet/minecraft/class_3023;method_48035(Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;Lnet/minecraft/class_10618;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;- official - a- Lanh;a(Laoe;Laoe;Laoe;Laoe;ZLcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
 
- 
executeprivate static int execute(ServerCommandSource source, CloneCommand.DimensionalPos begin, CloneCommand.DimensionalPos end, CloneCommand.DimensionalPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode, boolean strict) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/CloneCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/command/CloneCommand$DimensionalPos;Lnet/minecraft/server/command/CloneCommand$DimensionalPos;Lnet/minecraft/server/command/CloneCommand$DimensionalPos;Ljava/util/function/Predicate;Lnet/minecraft/server/command/CloneCommand$Mode;Z)I- intermediary - method_13090- Lnet/minecraft/class_3023;method_13090(Lnet/minecraft/class_2168;Lnet/minecraft/class_3023$class_8010;Lnet/minecraft/class_3023$class_8010;Lnet/minecraft/class_3023$class_8010;Ljava/util/function/Predicate;Lnet/minecraft/class_3023$class_3025;Z)I- official - a- Lanh;a(Lek;Lanh$c;Lanh$c;Lanh$c;Ljava/util/function/Predicate;Lanh$d;Z)I
 
 
-