Начинающий
- Статус
- Оффлайн
- Регистрация
- 29 Янв 2025
- Сообщения
- 23
- Реакции
- 0
кто смог этот огрызок сделать фулл кодом киньте мне пжкак всегда нурсултанчек, шрифт sf-ui-medium
Java:int headSize = 26; float spacing = 5; float width5 = 103F; float height5 = 39f; if (Mentality.getInstance().getModuleManager().getHud().tHudMode.is("Скид")) { if (!finalHp.equals("Неизвестно")) { healtAnim = MathUtil.lerp(healtAnim, Float.parseFloat(finalHp), 8F); } else { healtAnim = hp; } double alpha1 = alpha.getOutput() * 255; double alpha2 = alpha.getOutput() * 254; double alpha3 = alpha.getOutput() * 235; double alphaLow = alpha.getOutput() * 50; double alphaLow3 = alpha.getOutput() * 160; IWrapper.blurQueue.add(() -> DisplayUtils.drawRoundedRect(posX, posY, width5, height5, 6.5f, ColorUtils.setAlpha(Theme.rectColor, (int) alpha1))); DisplayUtils.drawRoundedRect(posX, posY, width5, height5, 6.5f, ColorUtils.setAlpha(Theme.darkMainRectColor, (int) alphaLow3)); DisplayUtils.drawRoundFace(posX + 3f, posY + 3.5f, 32, 32, (float)5.5f, (int)alpha2, (AbstractClientPlayerEntity) entity); ClientFonts.medium[(int) 19].drawScissorString(eventDisplay.getMatrixStack(), String.valueOf(name.toString()), posX + 2.5f + headSize + spacing + spacing, posY + 2f + spacing, ColorUtils.setAlpha(-1, (int) alpha3),(int)46.5f); ClientFonts.medium[15].drawStringWithOutline(eventDisplay.getMatrixStack(), String.format(Locale.US,"HP: " + "%.1f", healtAnim) + "", posX + 2.5f + headSize + spacing + spacing, posY + 3.5f + spacing + spacing + spacing, ColorUtils.setAlpha(-1, (int) alpha3)); DisplayUtils.drawGradientRound(posX + 38f, posY + 27f, (width5 - 43.5f), 7.5f, 2.2f, ColorUtils.setAlpha(Theme.mainRectColor, (int) alpha1),ColorUtils.setAlpha(Theme.mainRectColor, (int) alphaLow),ColorUtils.setAlpha(Theme.textColor, (int) alphaLow),ColorUtils.setAlpha(Theme.textColor, (int) alphaLow)); DisplayUtils.drawGradientRound(posX + 38f, posY + 27f, (width5 - 43.5f) * healthAnimation, 7.5f, 2.2f, ColorUtils.setAlpha(Theme.mainRectColor, (int) alpha1),ColorUtils.setAlpha(Theme.mainRectColor, (int) alpha1),ColorUtils.setAlpha(Theme.textColor, (int) alpha1),ColorUtils.setAlpha(Theme.textColor, (int) alpha1)); }