final Vector4i vector4i = new Vector4i(ColorUtils.red, ColorUtils.red, ColorUtils.green, ColorUtils.green);
final Vector4i vector4i2 = new Vector4i(ColorUtils.setAlpha(style.getFirstColor().getRGB(), 64), ColorUtils.setAlpha(style.getFirstColor().getRGB(), 64), ColorUtils.setAlpha(style.getSecondColor().getRGB(), 64), ColorUtils.setAlpha(style.getSecondColor().getRGB(), 64));
DisplayUtils.drawRoundedRect(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, width - 42.0f, 7.0f, new Vector4f(4.0f, 4.0f, 4.0f, 4.0f), ColorUtils.rgb(32, 32, 32));
DisplayUtils.drawShadow(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, (width - 42.0f) * this.healthAnimation, 7.0f, 8, ColorUtils.red,ColorUtils.green);
DisplayUtils.drawRoundedRect(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, (width - 42.0f) * this.healthAnimation, 7.0f, new Vector4f(4.0f, 4.0f, 4.0f, 4.0f), vector4i);
DisplayUtils.drawRoundedRect(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, (width - 42.0f) * this.healthAnimation2, 7.0f, new Vector4f(4.0f, 4.0f, 4.0f, 4.0f), vector4i2);
DisplayUtils.drawShadow(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, (width - 42.0f) * this.absorptionAnimation, 7.0f, 8, ColorUtils.rgba(236, 154, 17, 255), ColorUtils.rgba(228, 206, 5, 255));
DisplayUtils.drawRoundedRect(posX + headSize + spacing + spacing, posY + height - spacing * 2.0f - 3.0f, (width - 42.0f) * this.absorptionAnimation, 7.0f, new Vector4f(4.0f, 4.0f, 4.0f, 4.0f), new Vector4i(ColorUtils.rgba(236, 154, 17, 255), ColorUtils.rgba(236, 154, 17, 255), ColorUtils.rgba(228, 206, 5, 255), ColorUtils.rgba(228, 206, 5, 255)));