public class SampleCommand
extends java.lang.Object
implements net.minecraft.command.ICommand
| 构造器和说明 |
|---|
SampleCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List |
addTabCompletionOptions(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] astring) |
boolean |
canCommandSenderUseCommand(net.minecraft.command.ICommandSender icommandsender) |
int |
compareTo(java.lang.Object o) |
java.util.List |
getCommandAliases() |
java.lang.String |
getCommandName() |
java.lang.String |
getCommandUsage(net.minecraft.command.ICommandSender icommandsender) |
boolean |
isUsernameIndex(java.lang.String[] astring,
int i) |
void |
processCommand(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] astring) |
public java.lang.String getCommandName()
getCommandName 在接口中 net.minecraft.command.ICommandpublic java.lang.String getCommandUsage(net.minecraft.command.ICommandSender icommandsender)
getCommandUsage 在接口中 net.minecraft.command.ICommandpublic java.util.List getCommandAliases()
getCommandAliases 在接口中 net.minecraft.command.ICommandpublic void processCommand(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] astring)
processCommand 在接口中 net.minecraft.command.ICommandpublic boolean canCommandSenderUseCommand(net.minecraft.command.ICommandSender icommandsender)
canCommandSenderUseCommand 在接口中 net.minecraft.command.ICommandpublic java.util.List addTabCompletionOptions(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] astring)
addTabCompletionOptions 在接口中 net.minecraft.command.ICommandpublic boolean isUsernameIndex(java.lang.String[] astring,
int i)
isUsernameIndex 在接口中 net.minecraft.command.ICommandpublic int compareTo(java.lang.Object o)
compareTo 在接口中 java.lang.Comparable