public class RenderTileAlfPortal extends TileEntitySpecialRenderer {
@Override
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float f) {
TileAlfPortal portal = (TileAlfPortal) tileentity;
int meta = portal.getBlockMetadata();
if(meta == 0)
return;
GL11.glPushMatrix();
GL11.glTranslated(d0, d1, d2);