public class CloneCommand
extends java.lang.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.Dynamic2CommandExceptionType |
CLONE_TOO_BIG_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
static java.util.function.Predicate<CachedBlockInfo> |
NOT_AIR |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
OVERLAP_EXCEPTION |
Constructor and Description |
---|
CloneCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
doClone(CommandSource source,
BlockPos beginPos,
BlockPos endPos,
BlockPos destPos,
java.util.function.Predicate<CachedBlockInfo> filterPredicate,
CloneCommand.Mode cloneMode) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OVERLAP_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType CLONE_TOO_BIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static final java.util.function.Predicate<CachedBlockInfo> NOT_AIR
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int doClone(CommandSource source, BlockPos beginPos, BlockPos endPos, BlockPos destPos, java.util.function.Predicate<CachedBlockInfo> filterPredicate, CloneCommand.Mode cloneMode) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException