Package net.minecraft.server.command
Class CloneCommand
java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.command.CloneCommand
- All Implemented Interfaces:
Comparable<Command>,Command
public class CloneCommand extends AbstractCommand
- Mappings:
Namespace Name official uintermediary net/minecraft/class_1872named net/minecraft/server/command/CloneCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classCloneCommand.BlockInfoNested classes/interfaces inherited from class net.minecraft.command.AbstractCommand
AbstractCommand.Coordinate -
Constructor Summary
Constructors Constructor Description CloneCommand() -
Method Summary
Modifier and Type Method Description voidexecute(CommandSource source, String[] args)List<String>getAutoCompleteHints(CommandSource source, String[] args, BlockPos pos)StringgetCommandName()intgetPermissionLevel()StringgetUsageTranslationKey(CommandSource source)Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getCoordinate, getCoordinate, getEntities, getEntity, getEntity, getItem, getPlayer, isAccessible, isUsernameAtIndex, method_5667, method_5675, method_5678, method_5679, method_5680, method_5681, method_5687, method_5688, method_5692, method_5693, parseBoolean, parseClampedDouble, parseClampedDouble, parseClampedInt, parseClampedInt, parseClampedLong, parseDouble, parseDouble, parseDouble, parseInt, parseLong, run, run, setCommandProvider
-
Constructor Details
-
CloneCommand
public CloneCommand()
-
-
Method Details
-
getCommandName
- Mappings:
Namespace Name Mixin selector official cLk;c()Ljava/lang/String;intermediary method_5889Lnet/minecraft/class_1606;method_5889()Ljava/lang/String;named getCommandNameLnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
-
getPermissionLevel
public int getPermissionLevel()- Overrides:
getPermissionLevelin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLi;a()Iintermediary method_5657Lnet/minecraft/class_1545;method_5657()Inamed getPermissionLevelLnet/minecraft/command/AbstractCommand;getPermissionLevel()I
-
getUsageTranslationKey
- Mappings:
Namespace Name Mixin selector official cLk;c(Lm;)Ljava/lang/String;intermediary method_5890Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;named getUsageTranslationKeyLnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
-
execute
- Throws:
CommandException- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;)Vintermediary method_5885Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)Vnamed executeLnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
-
getAutoCompleteHints
- Specified by:
getAutoCompleteHintsin interfaceCommand- Overrides:
getAutoCompleteHintsin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;Lcj;)Ljava/util/List;intermediary method_5886Lnet/minecraft/class_1606;method_5886(Lnet/minecraft/class_1659;[Ljava/lang/String;Lnet/minecraft/class_1372;)Ljava/util/List;named getAutoCompleteHintsLnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-