Color c1 = new Color(0, 0, 0);
double darkness = 0;
long t = System.currentTimeMillis() % 1000;
darkness = Math.cos(t * 2 * Math.PI / 1000) * 0.2 + 0.2;
c1.setBlue(1f - (float)darkness);
color = c1.toInt();
}
font.drawStringWithShadow(r.getFittingText(sMotd, width - 10 - margin2 - marginleft), x + marginleft, y + 11, color);
GL11.glColor4f(1f, 1f, 1f, 1f);