net.minecraft.server.commands

public class CloneCommands

amg
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<et> arg0, ep 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(ep arg0, amg$c<com.mojang.brigadier.context.CommandContext<et>, aqu> 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<et> arg0, aqu 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(ep arg0, amg$c<com.mojang.brigadier.context.CommandContext<et>, aqu> arg1, amg$c<com.mojang.brigadier.context.CommandContext<et>, aqu> 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(amg$c<com.mojang.brigadier.context.CommandContext<et>, amg$d> arg0, amg$c<com.mojang.brigadier.context.CommandContext<et>, amg$d> arg1, amg$c<com.mojang.brigadier.context.CommandContext<et>, amg$d> arg2, amg$c<com.mojang.brigadier.context.CommandContext<et>, Predicate<dtg>> arg3, com.mojang.brigadier.builder.ArgumentBuilder<et, ?> 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(et arg0, amg$d arg1, amg$d arg2, amg$d arg3, Predicate<dtg> arg4, amg$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_)