public class RConConsoleSource extends java.lang.Object implements ICommandSender
| Constructor and Description |
|---|
RConConsoleSource(MinecraftServer serverIn) |
| 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 |
getLogContents() |
java.lang.String |
getName() |
BlockPos |
getPosition() |
Vec3d |
getPositionVector() |
MinecraftServer |
getServer() |
void |
resetLog() |
boolean |
sendCommandFeedback() |
void |
setCommandStat(CommandResultStats.Type type,
int amount) |
public RConConsoleSource(MinecraftServer serverIn)
public java.lang.String getName()
getName in interface ICommandSenderpublic ITextComponent getDisplayName()
getDisplayName in interface ICommandSenderpublic void addChatMessage(ITextComponent component)
addChatMessage in interface ICommandSenderpublic boolean canCommandSenderUseCommand(int permLevel,
java.lang.String commandName)
canCommandSenderUseCommand in interface ICommandSenderpublic BlockPos getPosition()
getPosition in interface ICommandSenderpublic Vec3d 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 ICommandSenderpublic MinecraftServer getServer()
getServer in interface ICommandSenderpublic void resetLog()
public java.lang.String getLogContents()