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 class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static Predicate<BlockInWorld>
private static 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_136730_)
-
Field Details
-
MAX_CLONE_AREA
private static final int MAX_CLONE_AREA- See Also:
- Constant Field Values
-
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
-
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
-