YATS/Forge Documentation
|
Public Member Functions | |
void | setCommand (String par1Str) |
String | getCommand () |
int | executeCommandOnPowered (World par1World) |
String | getCommandSenderName () |
void | setCommandSenderName (String par1Str) |
void | sendChatToPlayer (String par1Str) |
boolean | canCommandSenderUseCommand (int par1, String par2Str) |
String | translateString (String par1Str, Object...par2ArrayOfObj) |
void | writeToNBT (NBTTagCompound par1NBTTagCompound) |
void | readFromNBT (NBTTagCompound par1NBTTagCompound) |
ChunkCoordinates | getPlayerCoordinates () |
Packet | getDescriptionPacket () |
int | func_96103_d () |
void | func_96102_a (int par1) |
Public Member Functions inherited from net.minecraft.tileentity.TileEntity | |
World | getWorldObj () |
void | setWorldObj (World par1World) |
boolean | func_70309_m () |
void | readFromNBT (NBTTagCompound par1NBTTagCompound) |
void | writeToNBT (NBTTagCompound par1NBTTagCompound) |
void | updateEntity () |
int | getBlockMetadata () |
void | onInventoryChanged () |
double | getDistanceFrom (double par1, double par3, double par5) |
double | getMaxRenderDistanceSquared () |
Block | getBlockType () |
Packet | getDescriptionPacket () |
boolean | isInvalid () |
void | invalidate () |
void | validate () |
boolean | receiveClientEvent (int par1, int par2) |
void | updateContainingBlockInfo () |
void | func_85027_a (CrashReportCategory par1CrashReportCategory) |
boolean | canUpdate () |
void | onDataPacket (INetworkManager net, Packet132TileEntityData pkt) |
void | onChunkUnload () |
boolean | shouldRefresh (int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z) |
boolean | shouldRenderInPass (int pass) |
AxisAlignedBB | getRenderBoundingBox () |
Additional Inherited Members | |
Static Public Member Functions inherited from net.minecraft.tileentity.TileEntity | |
static void | addMapping (Class par0Class, String par1Str) |
static TileEntity | createAndLoadEntity (NBTTagCompound par0NBTTagCompound) |
Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
World | worldObj |
int | xCoord |
int | yCoord |
int | zCoord |
int | blockMetadata = -1 |
Block | blockType |
Static Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
static final AxisAlignedBB | INFINITE_EXTENT_AABB = AxisAlignedBB.getBoundingBox(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY) |
Protected Attributes inherited from net.minecraft.tileentity.TileEntity | |
boolean | tileEntityInvalid |
boolean net.minecraft.tileentity.TileEntityCommandBlock.canCommandSenderUseCommand | ( | int | par1, |
String | par2Str | ||
) |
Returns true if the command sender is allowed to use the given command.
Implements net.minecraft.command.ICommandSender.
int net.minecraft.tileentity.TileEntityCommandBlock.executeCommandOnPowered | ( | World | par1World) |
Execute the command, called when the command block is powered.
void net.minecraft.tileentity.TileEntityCommandBlock.func_96102_a | ( | int | par1) |
int net.minecraft.tileentity.TileEntityCommandBlock.func_96103_d | ( | ) |
String net.minecraft.tileentity.TileEntityCommandBlock.getCommand | ( | ) |
Return the command this command block is set to execute.
String net.minecraft.tileentity.TileEntityCommandBlock.getCommandSenderName | ( | ) |
Gets the name of this command sender (usually username, but possibly "Rcon")
Implements net.minecraft.command.ICommandSender.
Packet net.minecraft.tileentity.TileEntityCommandBlock.getDescriptionPacket | ( | ) |
Overriden in a sign to provide the text.
ChunkCoordinates net.minecraft.tileentity.TileEntityCommandBlock.getPlayerCoordinates | ( | ) |
Return the position for this command sender.
Implements net.minecraft.command.ICommandSender.
void net.minecraft.tileentity.TileEntityCommandBlock.readFromNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Reads a tile entity from NBT.
void net.minecraft.tileentity.TileEntityCommandBlock.sendChatToPlayer | ( | String | par1Str) |
Implements net.minecraft.command.ICommandSender.
void net.minecraft.tileentity.TileEntityCommandBlock.setCommand | ( | String | par1Str) |
Sets the command this block will execute when powered.
void net.minecraft.tileentity.TileEntityCommandBlock.setCommandSenderName | ( | String | par1Str) |
Sets the name of the command sender
String net.minecraft.tileentity.TileEntityCommandBlock.translateString | ( | String | par1Str, |
Object... | par2ArrayOfObj | ||
) |
Translates and formats the given string key with the given arguments.
Implements net.minecraft.command.ICommandSender.
void net.minecraft.tileentity.TileEntityCommandBlock.writeToNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Writes a tile entity to NBT.