public abstract class CommandBlockLogic extends java.lang.Object implements ICommandSource
DUMMY
コンストラクタと説明 |
---|
CommandBlockLogic() |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
allowLogging() |
java.lang.String |
getCommand()
Returns the command of the command block.
|
abstract CommandSource |
getCommandSource() |
ITextComponent |
getLastOutput()
Returns the lastOutput.
|
ITextComponent |
getName() |
abstract Vec3d |
getPositionVector() |
int |
getSuccessCount()
returns the successCount int.
|
abstract ServerWorld |
getWorld() |
void |
read(CompoundNBT nbt)
Reads NBT formatting and stored data into variables.
|
void |
sendMessage(ITextComponent component)
Send a chat message to the CommandSender
|
void |
setCommand(java.lang.String command)
Sets the command.
|
void |
setLastOutput(ITextComponent lastOutputMessage) |
void |
setName(ITextComponent nameIn) |
void |
setSuccessCount(int successCountIn) |
void |
setTrackOutput(boolean shouldTrackOutput) |
boolean |
shouldReceiveErrors() |
boolean |
shouldReceiveFeedback() |
boolean |
shouldTrackOutput() |
boolean |
trigger(World worldIn) |
boolean |
tryOpenEditCommandBlock(PlayerEntity playerIn) |
abstract void |
updateCommand() |
CompoundNBT |
write(CompoundNBT compound) |
public int getSuccessCount()
public void setSuccessCount(int successCountIn)
public ITextComponent getLastOutput()
public CompoundNBT write(CompoundNBT compound)
public void read(CompoundNBT nbt)
public void setCommand(java.lang.String command)
public java.lang.String getCommand()
public boolean trigger(World worldIn)
public ITextComponent getName()
public void setName(@Nullable ITextComponent nameIn)
public void sendMessage(ITextComponent component)
sendMessage
インタフェース内 ICommandSource
public abstract ServerWorld getWorld()
public abstract void updateCommand()
public void setLastOutput(@Nullable ITextComponent lastOutputMessage)
public void setTrackOutput(boolean shouldTrackOutput)
public boolean shouldTrackOutput()
public boolean tryOpenEditCommandBlock(PlayerEntity playerIn)
public abstract Vec3d getPositionVector()
public abstract CommandSource getCommandSource()
public boolean shouldReceiveFeedback()
shouldReceiveFeedback
インタフェース内 ICommandSource
public boolean shouldReceiveErrors()
shouldReceiveErrors
インタフェース内 ICommandSource
public boolean allowLogging()
allowLogging
インタフェース内 ICommandSource