public class CommandWrapper
extends net.minecraft.command.CommandBase
| Modifier | Constructor and Description |
|---|---|
protected |
CommandWrapper(com.sk89q.worldedit.util.command.CommandMapping command) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPermission(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender) |
int |
compareTo(net.minecraft.command.ICommand o) |
void |
execute(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args) |
java.util.List<java.lang.String> |
getAliases() |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
java.lang.String |
getUsage(net.minecraft.command.ICommandSender icommandsender) |
buildString, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, getTabCompletions, isUsernameIndex, join, joinNiceString, joinNiceStringFromCollection, notifyCommandListener, notifyCommandListener, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setCommandListener, toSyntaxExceptionprotected CommandWrapper(com.sk89q.worldedit.util.command.CommandMapping command)
public java.lang.String getName()
public java.util.List<java.lang.String> getAliases()
getAliases in interface net.minecraft.command.ICommandgetAliases in class net.minecraft.command.CommandBasepublic void execute(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
throws net.minecraft.command.CommandException
net.minecraft.command.CommandExceptionpublic java.lang.String getUsage(net.minecraft.command.ICommandSender icommandsender)
public int getRequiredPermissionLevel()
getRequiredPermissionLevel in class net.minecraft.command.CommandBasepublic boolean checkPermission(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender)
checkPermission in interface net.minecraft.command.ICommandcheckPermission in class net.minecraft.command.CommandBasepublic int compareTo(@Nullable
net.minecraft.command.ICommand o)
compareTo in interface java.lang.Comparable<net.minecraft.command.ICommand>compareTo in class net.minecraft.command.CommandBase