Начинающий
- Статус
- Оффлайн
- Регистрация
- 3 Сен 2023
- Сообщения
- 333
- Реакции
- 5
екселента -

мое -
шрифт -
в Fonts.java добавляем
public static volatile StyledFont[] exl = new StyledFont[27];
а так - же
for (int i = 8; i < 27;i++) {
exl = new StyledFont("small_pixel.ttf", i, 0.0f, 0.0f, 0.0f, true, Lang.ENG_RU);
}
и теперь вы очень крутые ребята
upd

мое -

Java:
BetterText exlText = new BetterText(List.of(
"excellent",
"pisisisis",
"yougameik"
), 2000);
private void ExcellentWatermarka(MatrixStack matrixStack) {
float x = 5, y = 5;
int firstColor = ColorUtil.getColorStyle(0);
int secondColor = ColorUtil.getColorStyle(90);
final float width = Math.max(80, Fonts.exl[16].getWidth(exlText.output) + 40);
final float height = 20;
RenderUtil.Render2D.drawGradientRound(4.4f,7f,width - 2,height - 1.6f,2,firstColor,secondColor,ColorUtil.getColorStyle(180),ColorUtil.getColorStyle(270));
RenderUtil.Render2D.drawRoundedRect(5,5,width,height,2,ColorUtil.rgba(255,255,255,225));
RenderUtil.Render2D.drawShadow(5f,5f,width - 1,height - 4.6f,2,firstColor,secondColor,ColorUtil.getColorStyle(180),ColorUtil.getColorStyle(270));
Fonts.exl[16].drawCenteredString(matrixStack, exlText.output, 27,17.5,ColorUtil.rgba(0,0,0,250));
Fonts.exl[20].drawCenteredString(matrixStack, "EXCELLENT " + IMinecraft.mc.debugFPS + "ФПС", 44.8f,8.7,ColorUtil.rgba(0,0,0,250));
}
шрифт -
Пожалуйста, авторизуйтесь для просмотра ссылки.
в Fonts.java добавляем
public static volatile StyledFont[] exl = new StyledFont[27];
а так - же
for (int i = 8; i < 27;i++) {
exl = new StyledFont("small_pixel.ttf", i, 0.0f, 0.0f, 0.0f, true, Lang.ENG_RU);
}
и теперь вы очень крутые ребята
upd
Последнее редактирование: