Начинающий
- Статус
- Оффлайн
- Регистрация
- 5 Сен 2025
- Сообщения
- 131
- Реакции
- 4
Код:
private void renderWatermark(DrawContext context) {
if (mc.player == null || mc.world == null) return;
Matrix4f matrix = context.getMatrices().peek().getPositionMatrix();
String text = "FemboyDLC > " + mc.player.getName().getString() + " > " + mc.getCurrentFps() + " fps";
// BuiltBlur blur = Builder.blur()
// .size(new SizeState(width, 22))
// .color(new QuadColorState(new Color(20, 20, 20, 180)))
// .radius(new QuadRadiusState(3.5f))
// .blurRadius(10)
// .smoothness(1.2f)
// .build();
// blur.render(matrix, 4, 4);
//
Builder.text()
.font(sf_medium.get())
.text(text)
.size(10f)
.color(-1)
.build()
.render(matrix, 8, 9.5f);
}
в коде выше текст указан белым но он почему то всё равно серый