private IIcon getAccessPortIcon(IBlockAccess blockAccess, int x, int y,
int z, int side) {
TileEntity te = blockAccess.getTileEntity(x, y, z);
if(te instanceof TileEntityReactorAccessPort) {
TileEntityReactorAccessPort port = (TileEntityReactorAccessPort)te;
if(!isReactorAssembled(port) || isOutwardsSide(port, side)) {
if(port.isInlet()) {
return _icons[METADATA_ACCESSPORT][PORT_INLET];
}
else {
return _icons[METADATA_ACCESSPORT][PORT_OUTLET];
}