public interface ICommandSender
Modifier and Type | Method and Description |
---|---|
void |
addChatMessage(ITextComponent component) |
boolean |
canCommandSenderUseCommand(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 |
setCommandStat(CommandResultStats.Type type,
int amount) |
java.lang.String getName()
ITextComponent getDisplayName()
void addChatMessage(ITextComponent component)
boolean canCommandSenderUseCommand(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()