Package net.minecraft.command.impl
Class CloneCommand
- java.lang.Object
-
- net.minecraft.command.impl.CloneCommand
-
public class CloneCommand extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CloneCommand.BlockInfo
(package private) static class
CloneCommand.Mode
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_AREA_TOO_LARGE
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_FAILED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_OVERLAP
static java.util.function.Predicate<CachedBlockInfo>
FILTER_AIR
-
Constructor Summary
Constructors Constructor Description CloneCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
clone(CommandSource p_198274_0_, BlockPos p_198274_1_, BlockPos p_198274_2_, BlockPos p_198274_3_, java.util.function.Predicate<CachedBlockInfo> p_198274_4_, CloneCommand.Mode p_198274_5_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198265_0_)
-
-
-
Field Detail
-
ERROR_OVERLAP
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_OVERLAP
-
ERROR_AREA_TOO_LARGE
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_AREA_TOO_LARGE
-
ERROR_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
-
FILTER_AIR
public static final java.util.function.Predicate<CachedBlockInfo> FILTER_AIR
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198265_0_)
-
clone
private static int clone(CommandSource p_198274_0_, BlockPos p_198274_1_, BlockPos p_198274_2_, BlockPos p_198274_3_, java.util.function.Predicate<CachedBlockInfo> p_198274_4_, CloneCommand.Mode p_198274_5_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-