public void render(Screen screen) {
		int xOffset = 5;
		int yOffset = 312;
		if (open) {
			Font.defaultFont().draw(screen, currentMessage + "-", xOffset, yOffset);
			for (int i = 0; i < messages.size(); i++) {
				Font.defaultFont().draw(screen, messages.get(i), xOffset, (yOffset -= 8));
			}
		} else {
			for (int i = 0; i <= displayedMessage; i++) {
				if (i == displayedMessage) {
					if (fading) {
						int alpha = 255 - (fadingTicks * 255 / FADE_TICKS);
						Font.defaultFont().drawOpaque(screen, messages.get(i), xOffset,
								(yOffset -= 8), alpha);
						continue;
					}
				}
				Font.defaultFont().draw(screen, messages.get(i), xOffset, (yOffset -= 8));
			}
		}
	}