public interface ICommandSender
Modifier and Type | Method and Description |
---|---|
boolean |
canUseCommand(int permLevel,
java.lang.String commandName) |
Entity |
getCommandSenderEntity() |
ITextComponent |
getDisplayName() |
World |
getEntityWorld() |
java.lang.String |
getName() |
BlockPos |
getPosition() |
Vec3d |
getPositionVector() |
MinecraftServer |
getServer() |
boolean |
sendCommandFeedback() |
void |
sendMessage(ITextComponent component) |
void |
setCommandStat(CommandResultStats.Type type,
int amount) |
java.lang.String getName()
ITextComponent getDisplayName()
void sendMessage(ITextComponent component)
boolean canUseCommand(int permLevel, java.lang.String commandName)
BlockPos getPosition()
Vec3d getPositionVector()
World getEntityWorld()
@Nullable Entity getCommandSenderEntity()
boolean sendCommandFeedback()
void setCommandStat(CommandResultStats.Type type, int amount)
@Nullable MinecraftServer getServer()