public class RConConsoleSource extends java.lang.Object implements ICommandSender
Modifier and Type | Field and Description |
---|---|
private java.lang.StringBuffer |
buffer |
private MinecraftServer |
server |
Constructor and Description |
---|
RConConsoleSource(MinecraftServer serverIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUseCommand(int permLevel,
java.lang.String commandName) |
World |
getEntityWorld() |
java.lang.String |
getLogContents() |
java.lang.String |
getName() |
MinecraftServer |
getServer() |
void |
resetLog() |
boolean |
sendCommandFeedback() |
void |
sendMessage(ITextComponent component) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandSenderEntity, getDisplayName, getPosition, getPositionVector, setCommandStat
private final java.lang.StringBuffer buffer
private final MinecraftServer server
public RConConsoleSource(MinecraftServer serverIn)
public java.lang.String getName()
getName
in interface ICommandSender
public void sendMessage(ITextComponent component)
sendMessage
in interface ICommandSender
public boolean canUseCommand(int permLevel, java.lang.String commandName)
canUseCommand
in interface ICommandSender
public World getEntityWorld()
getEntityWorld
in interface ICommandSender
public boolean sendCommandFeedback()
sendCommandFeedback
in interface ICommandSender
public MinecraftServer getServer()
getServer
in interface ICommandSender
public void resetLog()
public java.lang.String getLogContents()