public void drawStringMoveY(int waveSpeed, String string, int waveAmount, int y, int x, int color) {
		if (string == null) {
			return;
		}
		double speed = 7D - (double) waveSpeed / 8D;
		if (speed < 0.0D) {
			speed = 0.0D;
		}
		x -= getTextWidth(string) / 2;
		y -= baseHeight;
		for (int index = 0; index < string.length(); index++) {
			char c = string.charAt(index);
			if (c != ' ') {
				drawCharacter(characterPixels[c], x + characterOffsetX[c], y + characterOffsetY[c] + (int) (Math.sin((double) index / 1.5D + (double) waveAmount) * speed), characterWidth[c], characterHeight[c], color);
			}
			x += characterScreenWidth[c];
		}
	}