YATS/Forge Documentation
|
Public Attributes | |
boolean | isBusy |
Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
World | worldObj |
int | xCoord |
int | yCoord |
int | zCoord |
int | blockMetadata = -1 |
Block | blockType |
Public Attributes inherited from YATS.api.I6WayWrenchable | |
ForgeDirection | currentfacing = ForgeDirection.UNKNOWN |
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) |
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 |
void YATS.tile.TileAdvExtractor.AcceptCapsule | ( | ICapsule | capsule) |
Provides routines to be performed when the tile is offered and can accept a capsule.
capsule | The capsule, implementing ICapsule, to be accepted into the tile's contents. |
Implements YATS.api.ITubeConnectable.
boolean YATS.tile.TileAdvExtractor.AcceptsItemsOnSide | ( | ForgeDirection | side) |
Tests whether the tile accepts incoming capsules on the given side.
side | The side which is to be tested for acceptance of capsules, according to tile behavior |
Implements YATS.api.ITubeConnectable.
boolean YATS.tile.TileAdvExtractor.CanAccept | ( | ICapsule | capsule) |
Tests whether the tile will accept a capsule (ex. by colour - it's like racism for tubes).
capsule | The capsule to be tested according to the conditions of the tile. |
Implements YATS.api.ITubeConnectable.
Boolean YATS.tile.TileAdvExtractor.CanRoute | ( | ) |
Tests whether the tile can route a capsule.
Implements YATS.api.ITubeConnectable.
void YATS.tile.TileAdvExtractor.closeChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
ItemStack YATS.tile.TileAdvExtractor.decrStackSize | ( | int | i, |
int | j | ||
) |
Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
Implements net.minecraft.inventory.IInventory.
int YATS.tile.TileAdvExtractor.GetAdditionalPriority | ( | ) |
Adds additional priority to a tube route.
Implements YATS.api.ITubeConnectable.
Colours YATS.tile.TileAdvExtractor.GetColour | ( | ) |
This is the get accessor for the tile's colour.
Implements YATS.api.ITubeConnectable.
ForgeDirection YATS.tile.TileAdvExtractor.GetCurrentFacing | ( | ) |
This is the get accessor for the block's ForgeDirection.
Implements YATS.api.I6WayWrenchable.
Packet YATS.tile.TileAdvExtractor.getDescriptionPacket | ( | ) |
Colours YATS.tile.TileAdvExtractor.getFilterColour | ( | ) |
int YATS.tile.TileAdvExtractor.getInventoryStackLimit | ( | ) |
Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended. Isn't this more of a set than a get?
Implements net.minecraft.inventory.IInventory.
String YATS.tile.TileAdvExtractor.getInvName | ( | ) |
Returns the name of the inventory.
Implements net.minecraft.inventory.IInventory.
int YATS.tile.TileAdvExtractor.GetPressure | ( | ) |
This is the get accessor for the pressure within the tile.
Implements YATS.api.ITubeConnectable.
int YATS.tile.TileAdvExtractor.getSizeInventory | ( | ) |
Returns the number of slots in the inventory.
Implements net.minecraft.inventory.IInventory.
ItemStack YATS.tile.TileAdvExtractor.getStackInSlot | ( | int | i) |
Returns the stack in slot i
Implements net.minecraft.inventory.IInventory.
ItemStack YATS.tile.TileAdvExtractor.getStackInSlotOnClosing | ( | int | i) |
When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
Implements net.minecraft.inventory.IInventory.
boolean YATS.tile.TileAdvExtractor.IsConnectableOnSide | ( | ForgeDirection | side) |
Tests whether a given side of the tile can accept connection to another connectable
side | A ForgeDirection side of the tile to test for connectability. |
Implements YATS.api.ITubeConnectable.
boolean YATS.tile.TileAdvExtractor.IsConnectedOnSide | ( | ForgeDirection | side) |
Tests whether the tile is connected to another connectable tile on the given side.
side | The side which is to be tested for connection to another connectable tile. |
Implements YATS.api.ITubeConnectable.
boolean YATS.tile.TileAdvExtractor.isInvNameLocalized | ( | ) |
If this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language. Otherwise it will be used directly.
Implements net.minecraft.inventory.IInventory.
boolean YATS.tile.TileAdvExtractor.isStackValidForSlot | ( | int | i, |
ItemStack | itemstack | ||
) |
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
Implements net.minecraft.inventory.IInventory.
boolean YATS.tile.TileAdvExtractor.isUseableByPlayer | ( | EntityPlayer | entityplayer) |
Do not make give this method the name canInteractWith because it clashes with Container
Implements net.minecraft.inventory.IInventory.
void YATS.tile.TileAdvExtractor.onDataPacket | ( | INetworkManager | manager, |
Packet132TileEntityData | packet | ||
) |
void YATS.tile.TileAdvExtractor.openChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
void YATS.tile.TileAdvExtractor.readFromNBT | ( | NBTTagCompound | nbt) |
void YATS.tile.TileAdvExtractor.RotateTo | ( | ForgeDirection | direction) |
This is the set accessor for the block's ForgeDirection.
direction | The ForgeDirection to rotate to. |
Implements YATS.api.I6WayWrenchable.
void YATS.tile.TileAdvExtractor.SetColour | ( | Colours | colour) |
This is the set accessor for the tile's colour.
colour | The Colour with which the tile is to be associated. |
Implements YATS.api.ITubeConnectable.
void YATS.tile.TileAdvExtractor.SetConnectionOnSide | ( | ForgeDirection | side, |
boolean | connected | ||
) |
Sets the connection state of a side of the tile.
side | A ForgeDirection side of the tile to be updated. |
connected | A boolean; true if the side is connected, false if disconnected. |
Implements YATS.api.ITubeConnectable.
void YATS.tile.TileAdvExtractor.setFilterColour | ( | Colours | colour) |
void YATS.tile.TileAdvExtractor.setInventorySlotContents | ( | int | i, |
ItemStack | itemstack | ||
) |
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
Implements net.minecraft.inventory.IInventory.
void YATS.tile.TileAdvExtractor.SetPressure | ( | int | pressure) |
This is the set accessor for the pressure within the tile.
pressure | An integer value for the tube pressure within the tile. |
Implements YATS.api.ITubeConnectable.
void YATS.tile.TileAdvExtractor.updateEntity | ( | ) |
void YATS.tile.TileAdvExtractor.writeToNBT | ( | NBTTagCompound | nbt) |
boolean YATS.tile.TileAdvExtractor.isBusy |