public abstract class CommandBlockLogic extends java.lang.Object implements ICommandSender
| Constructor and Description |
|---|
CommandBlockLogic() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatMessage(IChatComponent message) |
boolean |
canUseCommand(int permLevel,
java.lang.String commandName) |
abstract int |
func_145751_f() |
abstract void |
func_145756_e() |
abstract void |
func_145757_a(io.netty.buffer.ByteBuf p_145757_1_) |
boolean |
func_175574_a(EntityPlayer p_175574_1_) |
CommandResultStats |
getCommandResultStats() |
java.lang.String |
getCustomName() |
IChatComponent |
getDisplayName() |
IChatComponent |
getLastOutput() |
java.lang.String |
getName() |
int |
getSuccessCount() |
void |
readDataFromNBT(NBTTagCompound nbt) |
boolean |
sendCommandFeedback() |
void |
setCommand(java.lang.String command) |
void |
setCommandStat(CommandResultStats.Type type,
int amount) |
void |
setLastOutput(IChatComponent lastOutputMessage) |
void |
setName(java.lang.String p_145754_1_) |
void |
setTrackOutput(boolean shouldTrackOutput) |
boolean |
shouldTrackOutput() |
void |
trigger(World worldIn) |
void |
writeDataToNBT(NBTTagCompound tagCompound) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandSenderEntity, getEntityWorld, getPosition, getPositionVectorpublic int getSuccessCount()
public IChatComponent getLastOutput()
public void writeDataToNBT(NBTTagCompound tagCompound)
public void readDataFromNBT(NBTTagCompound nbt)
public boolean canUseCommand(int permLevel,
java.lang.String commandName)
canUseCommand in interface ICommandSenderpublic void setCommand(java.lang.String command)
public java.lang.String getCustomName()
public void trigger(World worldIn)
public java.lang.String getName()
getName in interface ICommandSenderpublic IChatComponent getDisplayName()
getDisplayName in interface ICommandSenderpublic void setName(java.lang.String p_145754_1_)
public void addChatMessage(IChatComponent message)
addChatMessage in interface ICommandSenderpublic boolean sendCommandFeedback()
sendCommandFeedback in interface ICommandSenderpublic void setCommandStat(CommandResultStats.Type type, int amount)
setCommandStat in interface ICommandSenderpublic abstract void func_145756_e()
public abstract int func_145751_f()
public abstract void func_145757_a(io.netty.buffer.ByteBuf p_145757_1_)
public void setLastOutput(IChatComponent lastOutputMessage)
public void setTrackOutput(boolean shouldTrackOutput)
public boolean shouldTrackOutput()
public boolean func_175574_a(EntityPlayer p_175574_1_)
public CommandResultStats getCommandResultStats()