Визуальная часть Прикольная ватермарка | mcp 1.16.5

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
13 Май 2024
Сообщения
22
Реакции
0
Выберите загрузчик игры
  1. Vanilla
  2. OptiFine
ss - прикреплено

java:
Expand Collapse Copy
int uid = 1;
float x = 5;
float y = 5;
int fps = mc.debugFPS;
float totalwidth = 0;
float width = Fonts.inter.getWidth("Huina", 8);
float width2 = Fonts.inter.getWidth(" Release", 8);
totalwidth += width + width2 + 23;
Vector4i color = new Vector4i(
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f));

// *-* rect 1 *-* //
RenderUtil.drawRound(x,y, totalwidth,16,new Vector4f(5), 1f, color);
Fonts.inter.drawText(event.getMatrixStack(), "Huina", x+18f, y+4f, ColorUtil.rgb(255,255,255), 8);
Fonts.inter.drawText(event.getMatrixStack(), " Release", x+18f+width, y+4f, ThemeManager.getColorMain(), 8);
RenderUtil.drawImageAlpha(new ResourceLocation("cheat/images/hud/icon.png"), x+5, y+3, 10,10, new Vector4i(ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain()));

// *-* rect 2 *-* //
width = Fonts.inter.getWidth("UID:", 8);
width2 = Fonts.inter.getWidth(" " + String.valueOf(uid), 8);
RenderUtil.drawRound(x+totalwidth+5,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "UID:", x+10+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + uid, x+10+totalwidth+width, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 3 *-* //
width = Fonts.inter.getWidth("Time:", 8);
width2 = Fonts.inter.getWidth(" " + dateFormat.format(new Date()), 8);
RenderUtil.drawRound(x+totalwidth+10,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Time:", x+14+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), dateFormat.format(new Date()), x+14+totalwidth+width+3, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 4 *-* //
float totalwidth2 = 0;

width = Fonts.inter.getWidth("Coords:", 8);
width2 = Fonts.inter.getWidth(" " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), 8);
RenderUtil.drawRound(x,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Coords:", x+5, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), x+5+width, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 5 *-* //
double bps = MathUtil.round(Math.hypot(mc.player.prevPosX - mc.player.getPosX(), mc.player.prevPosZ - mc.player.getPosZ()) * 20.0D, 0.1f);
width = Fonts.inter.getWidth("BPS:", 8);
width2 = Fonts.inter.getWidth(" " + bps, 8);
RenderUtil.drawRound(totalwidth2+x+5,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "BPS:", x+10+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + bps, x+10+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 6 *-*
width = Fonts.inter.getWidth("FPS:", 8);
width2 = Fonts.inter.getWidth(" " + mc.debugFPS, 8);
RenderUtil.drawRound(totalwidth2+x+10,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "FPS:", x+15+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + mc.debugFPS, x+15+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

1758798134242.png
 
ss - прикреплено

java:
Expand Collapse Copy
int uid = 1;
float x = 5;
float y = 5;
int fps = mc.debugFPS;
float totalwidth = 0;
float width = Fonts.inter.getWidth("Huina", 8);
float width2 = Fonts.inter.getWidth(" Release", 8);
totalwidth += width + width2 + 23;
Vector4i color = new Vector4i(
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f));

// *-* rect 1 *-* //
RenderUtil.drawRound(x,y, totalwidth,16,new Vector4f(5), 1f, color);
Fonts.inter.drawText(event.getMatrixStack(), "Huina", x+18f, y+4f, ColorUtil.rgb(255,255,255), 8);
Fonts.inter.drawText(event.getMatrixStack(), " Release", x+18f+width, y+4f, ThemeManager.getColorMain(), 8);
RenderUtil.drawImageAlpha(new ResourceLocation("cheat/images/hud/icon.png"), x+5, y+3, 10,10, new Vector4i(ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain()));

// *-* rect 2 *-* //
width = Fonts.inter.getWidth("UID:", 8);
width2 = Fonts.inter.getWidth(" " + String.valueOf(uid), 8);
RenderUtil.drawRound(x+totalwidth+5,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "UID:", x+10+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + uid, x+10+totalwidth+width, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 3 *-* //
width = Fonts.inter.getWidth("Time:", 8);
width2 = Fonts.inter.getWidth(" " + dateFormat.format(new Date()), 8);
RenderUtil.drawRound(x+totalwidth+10,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Time:", x+14+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), dateFormat.format(new Date()), x+14+totalwidth+width+3, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 4 *-* //
float totalwidth2 = 0;

width = Fonts.inter.getWidth("Coords:", 8);
width2 = Fonts.inter.getWidth(" " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), 8);
RenderUtil.drawRound(x,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Coords:", x+5, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), x+5+width, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 5 *-* //
double bps = MathUtil.round(Math.hypot(mc.player.prevPosX - mc.player.getPosX(), mc.player.prevPosZ - mc.player.getPosZ()) * 20.0D, 0.1f);
width = Fonts.inter.getWidth("BPS:", 8);
width2 = Fonts.inter.getWidth(" " + bps, 8);
RenderUtil.drawRound(totalwidth2+x+5,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "BPS:", x+10+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + bps, x+10+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 6 *-*
width = Fonts.inter.getWidth("FPS:", 8);
width2 = Fonts.inter.getWidth(" " + mc.debugFPS, 8);
RenderUtil.drawRound(totalwidth2+x+10,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "FPS:", x+15+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + mc.debugFPS, x+15+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

Посмотреть вложение 316508
лол а зачем отдельной переменной определять значение ширины текста "Release" и другого, ну а сама Вт ну честн хз, Хуина вообще убило
 
ss - прикреплено

java:
Expand Collapse Copy
int uid = 1;
float x = 5;
float y = 5;
int fps = mc.debugFPS;
float totalwidth = 0;
float width = Fonts.inter.getWidth("Huina", 8);
float width2 = Fonts.inter.getWidth(" Release", 8);
totalwidth += width + width2 + 23;
Vector4i color = new Vector4i(
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f));

// *-* rect 1 *-* //
RenderUtil.drawRound(x,y, totalwidth,16,new Vector4f(5), 1f, color);
Fonts.inter.drawText(event.getMatrixStack(), "Huina", x+18f, y+4f, ColorUtil.rgb(255,255,255), 8);
Fonts.inter.drawText(event.getMatrixStack(), " Release", x+18f+width, y+4f, ThemeManager.getColorMain(), 8);
RenderUtil.drawImageAlpha(new ResourceLocation("cheat/images/hud/icon.png"), x+5, y+3, 10,10, new Vector4i(ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain()));

// *-* rect 2 *-* //
width = Fonts.inter.getWidth("UID:", 8);
width2 = Fonts.inter.getWidth(" " + String.valueOf(uid), 8);
RenderUtil.drawRound(x+totalwidth+5,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "UID:", x+10+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + uid, x+10+totalwidth+width, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 3 *-* //
width = Fonts.inter.getWidth("Time:", 8);
width2 = Fonts.inter.getWidth(" " + dateFormat.format(new Date()), 8);
RenderUtil.drawRound(x+totalwidth+10,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Time:", x+14+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), dateFormat.format(new Date()), x+14+totalwidth+width+3, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 4 *-* //
float totalwidth2 = 0;

width = Fonts.inter.getWidth("Coords:", 8);
width2 = Fonts.inter.getWidth(" " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), 8);
RenderUtil.drawRound(x,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Coords:", x+5, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), x+5+width, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 5 *-* //
double bps = MathUtil.round(Math.hypot(mc.player.prevPosX - mc.player.getPosX(), mc.player.prevPosZ - mc.player.getPosZ()) * 20.0D, 0.1f);
width = Fonts.inter.getWidth("BPS:", 8);
width2 = Fonts.inter.getWidth(" " + bps, 8);
RenderUtil.drawRound(totalwidth2+x+5,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "BPS:", x+10+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + bps, x+10+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 6 *-*
width = Fonts.inter.getWidth("FPS:", 8);
width2 = Fonts.inter.getWidth(" " + mc.debugFPS, 8);
RenderUtil.drawRound(totalwidth2+x+10,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "FPS:", x+15+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + mc.debugFPS, x+15+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

Посмотреть вложение 316508
+-
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
ss - прикреплено

java:
Expand Collapse Copy
int uid = 1;
float x = 5;
float y = 5;
int fps = mc.debugFPS;
float totalwidth = 0;
float width = Fonts.inter.getWidth("Huina", 8);
float width2 = Fonts.inter.getWidth(" Release", 8);
totalwidth += width + width2 + 23;
Vector4i color = new Vector4i(
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorSecondary(), 150), 0.1f),
ColorUtil.darkenColor(ColorUtil.setAlpha(ThemeManager.getColorMain(), 150), 0.6f));

// *-* rect 1 *-* //
RenderUtil.drawRound(x,y, totalwidth,16,new Vector4f(5), 1f, color);
Fonts.inter.drawText(event.getMatrixStack(), "Huina", x+18f, y+4f, ColorUtil.rgb(255,255,255), 8);
Fonts.inter.drawText(event.getMatrixStack(), " Release", x+18f+width, y+4f, ThemeManager.getColorMain(), 8);
RenderUtil.drawImageAlpha(new ResourceLocation("cheat/images/hud/icon.png"), x+5, y+3, 10,10, new Vector4i(ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain(),ThemeManager.getColorMain()));

// *-* rect 2 *-* //
width = Fonts.inter.getWidth("UID:", 8);
width2 = Fonts.inter.getWidth(" " + String.valueOf(uid), 8);
RenderUtil.drawRound(x+totalwidth+5,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "UID:", x+10+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + uid, x+10+totalwidth+width, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 3 *-* //
width = Fonts.inter.getWidth("Time:", 8);
width2 = Fonts.inter.getWidth(" " + dateFormat.format(new Date()), 8);
RenderUtil.drawRound(x+totalwidth+10,y, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Time:", x+14+totalwidth, y+4f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), dateFormat.format(new Date()), x+14+totalwidth+width+3, y+4f, ColorUtil.rgb(255,255,255), 8);
totalwidth += width + width2 + 10;

// *-* rect 4 *-* //
float totalwidth2 = 0;

width = Fonts.inter.getWidth("Coords:", 8);
width2 = Fonts.inter.getWidth(" " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), 8);
RenderUtil.drawRound(x,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "Coords:", x+5, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + Math.round(mc.player.getPosX()) + " " + Math.round(mc.player.getPosY()) + " " + Math.round(mc.player.getPosZ()), x+5+width, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 5 *-* //
double bps = MathUtil.round(Math.hypot(mc.player.prevPosX - mc.player.getPosX(), mc.player.prevPosZ - mc.player.getPosZ()) * 20.0D, 0.1f);
width = Fonts.inter.getWidth("BPS:", 8);
width2 = Fonts.inter.getWidth(" " + bps, 8);
RenderUtil.drawRound(totalwidth2+x+5,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "BPS:", x+10+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + bps, x+10+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

// *-* rect 6 *-*
width = Fonts.inter.getWidth("FPS:", 8);
width2 = Fonts.inter.getWidth(" " + mc.debugFPS, 8);
RenderUtil.drawRound(totalwidth2+x+10,y+20, width+width2+10,16,new Vector4f(5), color);
Fonts.inter.drawText(event.getMatrixStack(), "FPS:", x+15+totalwidth2, y+24f, ThemeManager.getColorMain(), 8);
Fonts.inter.drawText(event.getMatrixStack(), " " + mc.debugFPS, x+15+width+totalwidth2, y+24f, ColorUtil.rgb(255,255,255), 8);
totalwidth2 += width + width2 + 10;

Посмотреть вложение 316508
этож релейк
 
и нахуя сливать ветермарку со слитых сурсов?
ватермарка делалась до слива
ну под пивом пойдет и то не точно, очень пикселит братанчик а так ну в целом +-
какая рендер утилка попалась под руку, ту и взял 😝
лол а зачем отдельной переменной определять значение ширины текста "Release" и другого, ну а сама Вт ну честн хз, Хуина вообще убило
хуиня рекод 1.22.9
 

Похожие темы

Назад
Сверху Снизу