//// UGLY UI CODE HERE ////
private IIcon getCoolantPortIcon(IBlockAccess blockAccess, int x, int y,
int z, int side) {
TileEntity te = blockAccess.getTileEntity(x, y, z);
if(te instanceof TileEntityReactorCoolantPort) {
TileEntityReactorCoolantPort port = (TileEntityReactorCoolantPort)te;
if(!isReactorAssembled(port) || isOutwardsSide(port, side)) {
if(port.isInlet()) {
return _icons[METADATA_COOLANTPORT][PORT_INLET];
}
else {
return _icons[METADATA_COOLANTPORT][PORT_OUTLET];
}