import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.util.Identifier; public class WatermarkRenderer { private static final Identifier WATERMARK_IMAGE = new Identifier("Mega SelfCode", "textures/watermark.png"); private static final String WATERMARK_TEXT = "Arbuz.CC | xn0t | fps: "; public static void renderWatermark(MatrixStack matrixStack, int screenWidth, int screenHeight) { MinecraftClient minecraft = MinecraftClient.getInstance(); TextRenderer fontRenderer = minecraft.textRenderer; // by xn0t int fps = minecraft.debugFPS; // by xn0t minecraft.getTextureManager().bindTexture(WATERMARK_IMAGE); minecraft.inGameHud.drawTexture(matrixStack, 2, 2, 0, 0, 16, 16, 16, 16); // by xn0t String watermarkWithFPS = WATERMARK_TEXT + fps; int textWidth = fontRenderer.getWidth(watermarkWithFPS); fontRenderer.draw(matrixStack, watermarkWithFPS, 20, 4, 0xFFFFFF); // by xn0t minecraft.getTextureManager().bindTexture(GUI_ICONS_TEXTURE); } } SS: // by xn0t @Override public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) { super.render(matrixStack, mouseX, mouseY, partialTicks); WatermarkRenderer.renderWatermark(matrixStack, width, height); // Кароче тут пиши саму ватермарку }