public class CloneCommand extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CloneCommand.BlockInfo |
(package private) static class |
CloneCommand.Mode |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
static Predicate<CachedBlockPosition> |
IS_AIR_PREDICATE |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OVERLAP_EXCEPTION |
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType |
TOO_BIG_EXCEPTION |
Constructor and Description |
---|
CloneCommand() |
Modifier and Type | Method and Description |
---|---|
private 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) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType TOO_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static final Predicate<CachedBlockPosition> IS_AIR_PREDICATE
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)