YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
YATS.tile.TileExtractor Class Reference
Inheritance diagram for YATS.tile.TileExtractor:
net.minecraft.tileentity.TileEntity YATS.api.I6WayWrenchable YATS.api.ITubeConnectable

Public Member Functions

Packet getDescriptionPacket ()
 
void onDataPacket (INetworkManager manager, Packet132TileEntityData packet)
 
void updateEntity ()
 
void RotateTo (ForgeDirection direction)
 
ForgeDirection GetCurrentFacing ()
 
void writeToNBT (NBTTagCompound nbt)
 
void readFromNBT (NBTTagCompound nbt)
 
boolean AcceptsItemsOnSide (ForgeDirection side)
 
boolean IsConnectedOnSide (ForgeDirection side)
 
boolean CanAccept (ICapsule capsule)
 
Boolean CanRoute ()
 
int GetPressure ()
 
void SetPressure (int pressure)
 
Colours GetColour ()
 
void SetColour (Colours colour)
 
int GetAdditionalPriority ()
 
void AcceptCapsule (ICapsule capsule)
 
void SetConnectionOnSide (ForgeDirection side, boolean connected)
 
boolean IsConnectableOnSide (ForgeDirection side)
 
- 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 ()
 

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
 

Member Function Documentation

void YATS.tile.TileExtractor.AcceptCapsule ( ICapsule  capsule)

Provides routines to be performed when the tile is offered and can accept a capsule.

Parameters
capsuleThe capsule, implementing ICapsule, to be accepted into the tile's contents.

Implements YATS.api.ITubeConnectable.

boolean YATS.tile.TileExtractor.AcceptsItemsOnSide ( ForgeDirection  side)

Tests whether the tile accepts incoming capsules on the given side.

Parameters
sideThe side which is to be tested for acceptance of capsules, according to tile behavior
Returns
True if the tile accepts items on the given side, otherwise false.

Implements YATS.api.ITubeConnectable.

boolean YATS.tile.TileExtractor.CanAccept ( ICapsule  capsule)

Tests whether the tile will accept a capsule (ex. by colour - it's like racism for tubes).

Parameters
capsuleThe capsule to be tested according to the conditions of the tile.
Returns
True if the tile will accept the capsule, otherwise false.

Implements YATS.api.ITubeConnectable.

Boolean YATS.tile.TileExtractor.CanRoute ( )

Tests whether the tile can route a capsule.

Returns
True if the tile can be utilized for routing a capsule, otherwise false.

Implements YATS.api.ITubeConnectable.

int YATS.tile.TileExtractor.GetAdditionalPriority ( )

Adds additional priority to a tube route.

Returns
An integer representing the additional priority of the tile.

Implements YATS.api.ITubeConnectable.

Colours YATS.tile.TileExtractor.GetColour ( )

This is the get accessor for the tile's colour.

Returns
The Colour associated with the tile.

Implements YATS.api.ITubeConnectable.

ForgeDirection YATS.tile.TileExtractor.GetCurrentFacing ( )

This is the get accessor for the block's ForgeDirection.

Returns
The ForgeDirection the block is currently facing.

Implements YATS.api.I6WayWrenchable.

Packet YATS.tile.TileExtractor.getDescriptionPacket ( )
int YATS.tile.TileExtractor.GetPressure ( )

This is the get accessor for the pressure within the tile.

Returns
An integer value for the tube pressure within the tile.

Implements YATS.api.ITubeConnectable.

boolean YATS.tile.TileExtractor.IsConnectableOnSide ( ForgeDirection  side)

Tests whether a given side of the tile can accept connection to another connectable

Parameters
sideA ForgeDirection side of the tile to test for connectability.
Returns
True if the side is connectable, false if unconnectable.

Implements YATS.api.ITubeConnectable.

boolean YATS.tile.TileExtractor.IsConnectedOnSide ( ForgeDirection  side)

Tests whether the tile is connected to another connectable tile on the given side.

Parameters
sideThe side which is to be tested for connection to another connectable tile.
Returns
True if the tile is connected to another connectable tile on the given side, otherwise false.

Implements YATS.api.ITubeConnectable.

void YATS.tile.TileExtractor.onDataPacket ( INetworkManager  manager,
Packet132TileEntityData  packet 
)
void YATS.tile.TileExtractor.readFromNBT ( NBTTagCompound  nbt)
void YATS.tile.TileExtractor.RotateTo ( ForgeDirection  direction)

This is the set accessor for the block's ForgeDirection.

Parameters
directionThe ForgeDirection to rotate to.

Implements YATS.api.I6WayWrenchable.

void YATS.tile.TileExtractor.SetColour ( Colours  colour)

This is the set accessor for the tile's colour.

Parameters
colourThe Colour with which the tile is to be associated.

Implements YATS.api.ITubeConnectable.

void YATS.tile.TileExtractor.SetConnectionOnSide ( ForgeDirection  side,
boolean  connected 
)

Sets the connection state of a side of the tile.

Parameters
sideA ForgeDirection side of the tile to be updated.
connectedA boolean; true if the side is connected, false if disconnected.

Implements YATS.api.ITubeConnectable.

void YATS.tile.TileExtractor.SetPressure ( int  pressure)

This is the set accessor for the pressure within the tile.

Parameters
pressureAn integer value for the tube pressure within the tile.

Implements YATS.api.ITubeConnectable.

void YATS.tile.TileExtractor.updateEntity ( )
void YATS.tile.TileExtractor.writeToNBT ( NBTTagCompound  nbt)

Member Data Documentation

boolean YATS.tile.TileExtractor.isBusy

The documentation for this class was generated from the following file: