public class RConConsoleSource extends java.lang.Object implements ICommandSender
| Constructor and Description |
|---|
RConConsoleSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatMessage(IChatComponent message) |
boolean |
canUseCommand(int permLevel,
java.lang.String commandName) |
Entity |
getCommandSenderEntity() |
IChatComponent |
getDisplayName() |
World |
getEntityWorld() |
static RConConsoleSource |
getInstance() |
java.lang.String |
getLogContents() |
java.lang.String |
getName() |
BlockPos |
getPosition() |
Vec3 |
getPositionVector() |
void |
resetLog() |
boolean |
sendCommandFeedback() |
void |
setCommandStat(CommandResultStats.Type type,
int amount) |
public static RConConsoleSource getInstance()
public void resetLog()
public java.lang.String getLogContents()
public java.lang.String getName()
getName in interface ICommandSenderpublic IChatComponent getDisplayName()
getDisplayName in interface ICommandSenderpublic void addChatMessage(IChatComponent message)
addChatMessage in interface ICommandSenderpublic boolean canUseCommand(int permLevel,
java.lang.String commandName)
canUseCommand in interface ICommandSenderpublic BlockPos getPosition()
getPosition in interface ICommandSenderpublic Vec3 getPositionVector()
getPositionVector in interface ICommandSenderpublic World getEntityWorld()
getEntityWorld in interface ICommandSenderpublic Entity getCommandSenderEntity()
getCommandSenderEntity in interface ICommandSenderpublic boolean sendCommandFeedback()
sendCommandFeedback in interface ICommandSenderpublic void setCommandStat(CommandResultStats.Type type, int amount)
setCommandStat in interface ICommandSender