Package net.minecraft.server.commands
Class CloneCommands
java.lang.Object
net.minecraft.server.commands.CloneCommands
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final Predicate<BlockInWorld>
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
clone
(CommandSourceStack p_136736_, BlockPos p_136737_, BlockPos p_136738_, BlockPos p_136739_, Predicate<BlockInWorld> p_136740_, CloneCommands.Mode p_136741_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214424_, CommandBuildContext p_214425_)
-
Field Details
-
MAX_CLONE_AREA
private static final int MAX_CLONE_AREA- See Also:
-
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
-
-
Constructor Details
-
CloneCommands
public CloneCommands()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214424_, CommandBuildContext p_214425_) -
clone
private static int clone(CommandSourceStack p_136736_, BlockPos p_136737_, BlockPos p_136738_, BlockPos p_136739_, Predicate<BlockInWorld> p_136740_, CloneCommands.Mode p_136741_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-