net.minecraft.server.commands

public class CloneCommands

amt
net.minecraft.server.commands.CloneCommands
net.minecraft.class_3023
net.minecraft.server.command.CloneCommand
net.minecraft.src.C_5303_
net.minecraft.server.commands.CommandClone

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_OVERLAP
field_13493
OVERLAP_EXCEPTION
f_136723_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_AREA_TOO_LARGE
field_13491
TOO_BIG_EXCEPTION
f_136724_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_FAILED
field_13492
FAILED_EXCEPTION
f_136725_
public static final Predicate<BlockInWorld>
a
FILTER_AIR
field_13490
IS_AIR_PREDICATE
f_136722_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ep> arg0, el arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13089(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
m_214423_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_214424_, C_213173_ p_214425_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(el arg0, amt$c<com.mojang.brigadier.context.CommandContext<ep>, arf> arg1)
beginEndDestinationAndModeSuffix(CommandBuildContext arg0, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> arg1)
method_48042(class_7157 arg0, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3218> arg1)
createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter)
m_264501_(C_213173_ p_265681_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_12_> p_265514_)
private static CloneCommands$DimensionAndPosition
a(com.mojang.brigadier.context.CommandContext<ep> arg0, arf arg1, String arg2)
getLoadedDimensionAndPosition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ServerLevel arg1, String arg2)
method_48040(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3218 arg1, String arg2)
createDimensionalPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name)
m_264576_(com.mojang.brigadier.context.CommandContext<C_2969_> p_265513_, C_12_ p_265183_, String p_265511_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(el arg0, amt$c<com.mojang.brigadier.context.CommandContext<ep>, arf> arg1, amt$c<com.mojang.brigadier.context.CommandContext<ep>, arf> arg2)
destinationAndModeSuffix(CommandBuildContext arg0, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> arg1, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> arg2)
method_48043(class_7157 arg0, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3218> arg1, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3218> arg2)
createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter)
m_264459_(C_213173_ p_265238_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_12_> p_265621_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_12_> p_265296_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(amt$c<com.mojang.brigadier.context.CommandContext<ep>, amt$d> arg0, amt$c<com.mojang.brigadier.context.CommandContext<ep>, amt$d> arg1, amt$c<com.mojang.brigadier.context.CommandContext<ep>, amt$d> arg2, amt$c<com.mojang.brigadier.context.CommandContext<ep>, Predicate<dsi>> arg3, com.mojang.brigadier.builder.ArgumentBuilder<ep, ?> arg4)
wrapWithCloneMode(CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands$DimensionAndPosition> arg0, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands$DimensionAndPosition> arg1, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands$DimensionAndPosition> arg2, CloneCommands$CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> arg3, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg4)
method_48035(class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3023$class_8010> arg0, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3023$class_8010> arg1, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, class_3023$class_8010> arg2, class_3023$class_8009<com.mojang.brigadier.context.CommandContext<class_2168>, Predicate<class_2694>> arg3, com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg4)
createModeArgs(CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand$DimensionalPos> beginPosGetter, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand$DimensionalPos> endPosGetter, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, CloneCommand$DimensionalPos> destinationPosGetter, CloneCommand$ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, Predicate<CachedBlockPosition>> filterGetter, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder)
m_264123_(C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_5303_$C_263598_> p_265374_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_5303_$C_263598_> p_265134_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_5303_$C_263598_> p_265546_, C_5303_$C_263631_<com.mojang.brigadier.context.CommandContext<C_2969_>, Predicate<C_2070_>> p_265798_, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_265069_)
private static int
a(ep arg0, amt$d arg1, amt$d arg2, amt$d arg3, Predicate<dsi> arg4, amt$e arg5)
clone(CommandSourceStack arg0, CloneCommands$DimensionAndPosition arg1, CloneCommands$DimensionAndPosition arg2, CloneCommands$DimensionAndPosition arg3, Predicate<BlockInWorld> arg4, CloneCommands$Mode arg5)
method_13090(class_2168 arg0, class_3023$class_8010 arg1, class_3023$class_8010 arg2, class_3023$class_8010 arg3, Predicate<class_2694> arg4, class_3023$class_3025 arg5)
execute(ServerCommandSource source, CloneCommand$DimensionalPos begin, CloneCommand$DimensionalPos end, CloneCommand$DimensionalPos destination, Predicate<CachedBlockPosition> filter, CloneCommand$Mode mode)
m_264087_(C_2969_ p_265047_, C_5303_$C_263598_ p_265232_, C_5303_$C_263598_ p_265188_, C_5303_$C_263598_ p_265594_, Predicate<C_2070_> p_265585_, C_5303_$C_5305_ p_265530_)