}
@Override
public void renderDynamic(float size, TileEntity te, float partialTicks){
if(te instanceof TileEntityPressureChamberInterface) {
TileEntityPressureChamberInterface tile = (TileEntityPressureChamberInterface)te;
float renderInputProgress = tile.oldInputProgress + (tile.inputProgress - tile.oldInputProgress) * partialTicks;
float renderOutputProgress = tile.oldOutputProgress + (tile.outputProgress - tile.oldOutputProgress) * partialTicks;
renderModel(size, renderInputProgress / TileEntityPressureChamberInterface.MAX_PROGRESS, renderOutputProgress / TileEntityPressureChamberInterface.MAX_PROGRESS);
if(tile.getStackInSlot(0) != null) {
GL11.glTranslated(0, 17 / 16F, 0);
GL11.glScalef(1.0F, -1F, -1F);
// GL11.glRotatef(rotationAngle, 0.0F, 1.0F, 0.0F);
boolean fancySetting = RenderManager.instance.options.fancyGraphics;
RenderManager.instance.options.fancyGraphics = true;
EntityItem ghostItem = new EntityItem(te.getWorldObj(), 0, 0, 0, tile.getStackInSlot(0));
ghostItem.hoverStart = 0;
customRenderItem.doRender(ghostItem, 0, 0, 0, 0, 0);
RenderManager.instance.options.fancyGraphics = fancySetting;
}
} else {