public class RenderTileTerraPlate extends TileEntitySpecialRenderer {
@Override
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float f) {
TileTerraPlate plate = (TileTerraPlate) tileentity;
float max = (float) TileTerraPlate.MAX_MANA / 10F;
float alphaMod = (float) Math.min(max, plate.getCurrentMana()) / max;
GL11.glPushMatrix();
GL11.glTranslated(d0, d1, d2);
GL11.glRotated(90F, 1F, 0F, 0F);
GL11.glTranslatef(0F, 0F, -3F / 16F - 0.001F);