if (tileentity != null)
{
WidgetRedstoneModes redstoneSwitch = (WidgetRedstoneModes) buttonList.get(0);
redstoneSwitch.setRedstoneMode(tileentity.getRedstoneMode());
WidgetFluidModes fluidSwitch = (WidgetFluidModes) buttonList.get(1);
fluidSwitch.setFluidMode(tileentity.getFluidMode());
}
this.fontRenderer.drawString(BlockEnum.FLUIDIMPORT.getStatName(), 5, 0, 0x000000);
}