public void drawShakeText(int startHeight, String text, int effectSpeed, int y, int x, int color) { // method388
		if (text == null) {
			return;
		}
		double bounceHeight = 7D - startHeight / 8D;
		if (bounceHeight < 0.0D) {
			bounceHeight = 0.0D;
		}
		x -= getANTextWidth(text) / 2;
		y -= trimHeight;
		for (int k1 = 0; k1 < text.length(); k1++) {
			char c = text.charAt(k1);
			if (c != ' ') {
				drawChar(pixels[c], x + horizontalKerning[c], y + verticalKerning[c] + (int) (Math.sin(k1 / 1.5D + effectSpeed) * bounceHeight), width[c], height[c], color);
			}
			x += charWidths[c];
		}
	}