public abstract class CommandBlockBaseLogic extends java.lang.Object implements ICommandSender
| Constructor and Description |
|---|
CommandBlockBaseLogic() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandSenderEntity, getEntityWorld, getPosition, getPositionVector, getServerpublic int getSuccessCount()
public void setSuccessCount(int successCountIn)
public ITextComponent getLastOutput()
public NBTTagCompound writeToNBT(NBTTagCompound p_189510_1_)
public void readDataFromNBT(NBTTagCompound nbt)
public boolean canCommandSenderUseCommand(int permLevel,
java.lang.String commandName)
canCommandSenderUseCommand in interface ICommandSenderpublic void setCommand(java.lang.String command)
public java.lang.String getCommand()
public void trigger(World worldIn)
public java.lang.String getName()
getName in interface ICommandSenderpublic ITextComponent getDisplayName()
getDisplayName in interface ICommandSenderpublic void setName(java.lang.String name)
public void addChatMessage(ITextComponent component)
addChatMessage in interface ICommandSenderpublic boolean sendCommandFeedback()
sendCommandFeedback in interface ICommandSenderpublic void setCommandStat(CommandResultStats.Type type, int amount)
setCommandStat in interface ICommandSenderpublic abstract void updateCommand()
public abstract int getCommandBlockType()
public abstract void fillInInfo(io.netty.buffer.ByteBuf buf)
public void setLastOutput(@Nullable
ITextComponent lastOutputMessage)
public void setTrackOutput(boolean shouldTrackOutput)
public boolean shouldTrackOutput()
public boolean tryOpenEditCommandBlock(EntityPlayer playerIn)
public CommandResultStats getCommandResultStats()