TileEntity te;
te = world.getTileEntity(x, y, z);
if(te instanceof TileEntityReactorFuelRod) {
TileEntityReactorFuelRod fuelRod = (TileEntityReactorFuelRod)te;
if(fuelRod.isConnected()) {
MultiblockReactor reactor = (MultiblockReactor)fuelRod.getMultiblockController();
int fuelAmount = reactor.getFuelAmount();
int wasteAmount = reactor.getWasteAmount();
int totalFluid = fuelAmount + wasteAmount;
int capacity = reactor.getCapacity();
if(capacity > 0 && totalFluid > 0) {
// Okay, we're connected and have some kind of fluid inside. Let's do this.
float fluidColumnOffsetFromCenter = -1f;
float red, green, blue;
IIcon iconSide, iconBottom;
iconSide = iconBottom = null;
red = green = blue = 1f;
iconSide = BigReactors.fluidFuelColumn.getFlowingIcon();
iconBottom = BigReactors.fluidFuelColumn.getStillIcon();
ReactantData fuelData = Reactants.getReactant(reactor.getFuelType());
ReactantData wasteData = Reactants.getReactant(reactor.getWasteType());
int fuelColor = fuelData != null ? fuelData.getColor() : StandardReactants.colorYellorium;
int wasteColor = wasteData != null ? wasteData.getColor() : StandardReactants.colorCyanite;
if(fuelAmount == 0) {