Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.server.command.CloneCommand
public class CloneCommand extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classCloneCommand.BlockInfo(package private) static classCloneCommand.Mode -
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeFAILED_EXCEPTIONstatic Predicate<CachedBlockPosition>IS_AIR_PREDICATEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOVERLAP_EXCEPTIONprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeTOO_BIG_EXCEPTION -
Constructor Summary
Constructors Constructor Description CloneCommand() -
Method Summary
Modifier and Type Method Description private static intexecute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
OVERLAP_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION -
TOO_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION -
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION -
IS_AIR_PREDICATE
-
-
Constructor Details
-
CloneCommand
public CloneCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
execute
private static int execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)
-