Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.server.command.CloneCommand
- Mappings:
Namespace Name official aebintermediary net/minecraft/class_3023named net/minecraft/server/command/CloneCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interfaceprivate static classprivate static final recordprivate static enum -
Field Summary
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.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(CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.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) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
-
Field Details
-
OVERLAP_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLaeb;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13493Lnet/minecraft/class_3023;field_13493:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OVERLAP_EXCEPTIONLnet/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 cLaeb;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;intermediary field_13491Lnet/minecraft/class_3023;field_13491:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;named TOO_BIG_EXCEPTIONLnet/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 dLaeb;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13492Lnet/minecraft/class_3023;field_13492:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named FAILED_EXCEPTIONLnet/minecraft/server/command/CloneCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
IS_AIR_PREDICATE
- Mappings:
Namespace Name Mixin selector official aLaeb;a:Ljava/util/function/Predicate;intermediary field_13490Lnet/minecraft/class_3023;field_13490:Ljava/util/function/Predicate;named IS_AIR_PREDICATELnet/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 aLaeb;a(Lcom/mojang/brigadier/CommandDispatcher;Ldm;)Vintermediary method_13089Lnet/minecraft/class_3023;method_13089(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vnamed registerLnet/minecraft/server/command/CloneCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
-
createSourceArgs
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) - Mappings:
Namespace Name Mixin selector official aLaeb;a(Ldm;Laeb$b;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_48042Lnet/minecraft/class_3023;method_48042(Lnet/minecraft/class_7157;Lnet/minecraft/class_3023$class_8009;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named createSourceArgsLnet/minecraft/server/command/CloneCommand;createSourceArgs(Lnet/minecraft/command/CommandRegistryAccess;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
createDimensionalPos
private 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 official aLaeb;a(Lcom/mojang/brigadier/context/CommandContext;Laif;Ljava/lang/String;)Laeb$c;intermediary method_48040Lnet/minecraft/class_3023;method_48040(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_3218;Ljava/lang/String;)Lnet/minecraft/class_3023$class_8010;named createDimensionalPosLnet/minecraft/server/command/CloneCommand;createDimensionalPos(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;)Lnet/minecraft/server/command/CloneCommand$DimensionalPos;
-
createDestinationArgs
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) - Mappings:
Namespace Name Mixin selector official aLaeb;a(Ldm;Laeb$b;Laeb$b;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_48043Lnet/minecraft/class_3023;method_48043(Lnet/minecraft/class_7157;Lnet/minecraft/class_3023$class_8009;Lnet/minecraft/class_3023$class_8009;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named createDestinationArgsLnet/minecraft/server/command/CloneCommand;createDestinationArgs(Lnet/minecraft/command/CommandRegistryAccess;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
createModeArgs
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> createModeArgs(CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> beginPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> endPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand.DimensionalPos> destinationPosGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder) - Mappings:
Namespace Name Mixin selector official aLaeb;a(Laeb$b;Laeb$b;Laeb$b;Laeb$b;Lcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_48035Lnet/minecraft/class_3023;method_48035(Lnet/minecraft/class_3023$class_8009;Lnet/minecraft/class_3023$class_8009;Lnet/minecraft/class_3023$class_8009;Lnet/minecraft/class_3023$class_8009;Lcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named createModeArgsLnet/minecraft/server/command/CloneCommand;createModeArgs(Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;Lnet/minecraft/server/command/CloneCommand$ArgumentGetter;Lcom/mojang/brigadier/builder/ArgumentBuilder;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
execute
private static int execute(ServerCommandSource source, CloneCommand.DimensionalPos begin, CloneCommand.DimensionalPos end, CloneCommand.DimensionalPos 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 aLaeb;a(Lds;Laeb$c;Laeb$c;Laeb$c;Ljava/util/function/Predicate;Laeb$d;)Iintermediary method_13090Lnet/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;)Inamed executeLnet/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;)I
-