gamerswarit

Your task is to develop a fully functional Minecraft recording mod called UltraLite Recorder, specifically designed for low-end PCs and laptops that struggle with FPS drops when using traditional screen recording software.

The primary objective is to allow players to record their Minecraft gameplay directly from inside the game while maintaining the highest possible FPS and minimizing CPU, GPU, and RAM usage.

  1. Core Objective

Create a lightweight in-game recording system with these priorities:

  1. Minimum possible FPS impact.
  2. Very low CPU and RAM consumption.
  3. No unnecessary GPU workload.
  4. Background video encoding.
  5. Direct recording to the mod's own files directory.
  6. Simple and beginner-friendly controls.
  7. Compatibility with low-end hardware.

Do not prioritize visual recording quality over performance.

  1. Recording System

Implement a recording system with:

  • Start Recording
  • Stop Recording
  • Pause Recording
  • Resume Recording
  • Save Recording Automatically
  • Recording Duration Display
  • Recording Status Indicator

The recording must capture actual Minecraft gameplay, including:

  • Player movement
  • Camera movement
  • Blocks and surroundings
  • Mobs and entities
  • GUI and HUD
  • Inventory and menus
  • In-game animations

The recording should represent exactly what the player sees on their screen.

  1. Performance Optimization (MOST IMPORTANT)

The entire architecture must be designed around low-end hardware.

A. Asynchronous Recording

  • Never perform video encoding on Minecraft's main/render thread.
  • Capture frames with minimal overhead.
  • Send frames to a dedicated background encoding thread.
  • Use a bounded frame buffer.
  • Never allow the buffer to grow indefinitely.
  • Avoid unnecessary frame copying.
  • Reuse allocated buffers wherever possible.
  • Avoid frequent object allocations and garbage collection.
  • Keep recording tasks separate from Minecraft's game logic.

B. Adaptive FPS Recording

Provide these recording FPS options:

  • 15 FPS
  • 20 FPS
  • 24 FPS
  • 30 FPS
  • 60 FPS (optional, only for capable devices)

Default recording FPS: 20 FPS.

Do not force Minecraft to render at the recording FPS.

The recorder should capture frames at the selected recording interval without unnecessarily increasing the game's rendering workload.

C. Smart Frame Handling

Implement an efficient frame acquisition system.

  • Avoid capturing duplicate frames unnecessarily.
  • Support frame skipping when the encoder falls behind.
  • Never freeze the game waiting for encoding.
  • Prioritize Minecraft gameplay over recording.
  • Provide an option to drop frames instead of slowing down the game.
  • Keep frame timestamps consistent.
  • Avoid creating additional rendering passes.

D. Hardware Acceleration

Where supported, provide optional hardware encoding using platform-supported encoders.

Possible options:

  • Intel Quick Sync
  • NVIDIA NVENC
  • AMD hardware encoding
  • Software encoding fallback

Hardware acceleration must be optional and automatically disabled if unsupported.

Do not assume every low-end computer has a dedicated GPU.

E. Low Resource Usage

Implement:

  • Configurable recording resolution.
  • Configurable bitrate.
  • Configurable FPS.
  • Limited memory allocation.
  • Efficient buffer management.
  • Minimal background CPU usage.
  • No unnecessary real-time video processing.
  • No recording-related network activity.

The recorder should never continuously consume excessive resources when recording is disabled.

  1. Recording Quality Settings

Create the following presets:

Potato Mode

  • Resolution: 480p
  • FPS: 15
  • Bitrate: 1 Mbps
  • Encoder: Low CPU usage
  • Priority: Maximum performance preservation

Low-End Mode

  • Resolution: 720p
  • FPS: 20
  • Bitrate: 2 Mbps
  • Encoder: Balanced

Balanced Mode

  • Resolution: 720p
  • FPS: 30
  • Bitrate: 4 Mbps

High Quality Mode

  • Resolution: 1080p
  • FPS: 30
  • Bitrate: 6 Mbps

Allow users to customize resolution, FPS, and bitrate.

If the selected encoder cannot maintain the configured settings, prioritize game performance and gracefully reduce recording quality or drop frames.

  1. Video Format and Saving System

Save all recordings directly inside the mod's dedicated directory.

Suggested folder structure:

.minecraft/ └── ultraLiteRecorder/ ├── recordings/ │ ├── Recording_001.mp4 │ ├── Recording_002.mp4 │ └── Recording_003.mp4 ├── thumbnails/ ├── temp/ └── config/

Requirements:

  • Use MP4 as the preferred output format.
  • Use H.264 encoding where supported.
  • Ensure recordings are playable in common video players.
  • Automatically generate recording filenames using date and time.
  • Never overwrite an existing recording.
  • Clean up temporary files after successful encoding.
  • Recover or preserve incomplete recordings after unexpected shutdowns wherever technically possible.
  • Never delete saved recordings automatically.

The recording must be saved locally. No cloud uploads.

  1. In-Game GUI

Create a clean, minimal Minecraft-style recording interface.

The interface should include:

Main Menu

  • Start Recording
  • Stop Recording
  • Pause / Resume
  • Open Recordings Folder
  • Recording Settings

Recording Overlay

Display a small indicator:

  • Red recording dot
  • Recording duration
  • Current recording FPS
  • Selected resolution

The overlay must be customizable and should not obstruct gameplay.

Allow users to hide the recording overlay completely.

Settings Menu

Include:

  • Recording FPS
  • Recording Resolution
  • Video Bitrate
  • Encoding Method
  • Performance Preset
  • Frame Dropping
  • Automatic Recording
  • Recording Folder
  1. Keyboard Shortcuts

Provide configurable default shortcuts:

  • F9: Start / Stop Recording
  • F10: Pause / Resume Recording
  • F11: Open Recorder Menu

Prevent shortcut conflicts with Minecraft's existing key bindings.

  1. Recording Library

Add an in-game recording library.

Features:

  • Display saved recordings.
  • Show recording name.
  • Show duration.
  • Show resolution.
  • Show FPS.
  • Show file size.
  • Open recording folder.
  • Delete recordings only after confirmation.
  • Rename recordings.

Do not load entire video files into RAM just to display the library.

  1. Technical Architecture

Use an efficient modular architecture:

  1. Recording Controller
  2. Frame Capture Manager
  3. Frame Buffer Manager
  4. Background Encoding Worker
  5. Video File Writer
  6. Configuration Manager
  7. Recording GUI
  8. Recording Library

Important engineering rules:

  • Main Minecraft thread must never wait for video encoding.
  • Render thread must never perform disk writing.
  • Use bounded queues and backpressure.
  • Handle encoder initialization and shutdown safely.
  • Handle resolution changes.
  • Handle game crashes gracefully.
  • Ensure proper resource cleanup.
  • Do not introduce memory leaks.
  • Do not interfere with Minecraft's normal rendering pipeline.

Use the least expensive capture method compatible with the chosen Minecraft version and mod loader.

Do not implement expensive frame-by-frame rendering or unnecessary GPU readbacks.

  1. Compatibility

Before development, confirm:

  • Minecraft version.
  • Fabric / Forge / NeoForge compatibility.
  • Java version.
  • Operating system support.

Initially target Fabric for the selected Minecraft Java Edition version.

Keep the architecture modular so additional mod loaders can be supported later.

  1. Performance Testing

Performance testing is mandatory.

Test the mod under these conditions:

  1. Recording disabled.
  2. Recording enabled at 480p / 15 FPS.
  3. Recording enabled at 720p / 20 FPS.
  4. Recording enabled at 720p / 30 FPS.
  5. Recording enabled while exploring new chunks.
  6. Recording enabled during combat.

Compare FPS, CPU usage, RAM usage, GPU usage, frame-time consistency, and dropped recording frames.

Use a low-end test configuration, including:

  • 2-core or 4-core CPU.
  • 4 GB RAM system.
  • Integrated graphics.
  • No dedicated GPU.

Set measurable performance targets.

The recording system should aim for minimal FPS degradation, ideally around 0–3% on supported hardware, but never claim this target has been achieved without actual benchmarking.

If the recorder causes major FPS drops, investigate and optimize the capture pipeline before considering the mod complete.

  1. Deliverables

Provide:

  1. Complete working source code.
  2. Gradle project.
  3. Fabric mod configuration.
  4. Required dependencies.
  5. Build instructions.
  6. Compiled mod JAR.
  7. Default configuration file.
  8. Performance testing report.
  9. Instructions for installing the mod.
  10. Known limitations.

Do not provide mockups or pseudocode as the final implementation.

Build and test the actual mod.

FINAL PRIORITY: The player should be able to record Minecraft gameplay on a low-end computer without experiencing the severe FPS drops commonly associated with traditional screen recording software. Game performance must always take priority over recording quality.Project: UltraLite Recorder – Minecraft Performance-Friendly Recording Mod

Act as a senior Minecraft mod developer, Java developer, graphics programmer, and performance optimization engineer.

Your task is to develop a fully functional Minecraft recording mod called UltraLite Recorder, specifically designed for low-end PCs and laptops that struggle with FPS drops when using traditional screen recording software.

The primary objective is to allow players to record their Minecraft gameplay directly from inside the game while maintaining the highest possible FPS and minimizing CPU, GPU, and RAM usage.

  1. Core Objective

Create a lightweight in-game recording system with these priorities:

  1. Minimum possible FPS impact.
  2. Very low CPU and RAM consumption.
  3. No unnecessary GPU workload.
  4. Background video encoding.
  5. Direct recording to the mod's own files directory.
  6. Simple and beginner-friendly controls.
  7. Compatibility with low-end hardware.

Do not prioritize visual recording quality over performance.

  1. Recording System

Implement a recording system with:

  • Start Recording
  • Stop Recording
  • Pause Recording
  • Resume Recording
  • Save Recording Automatically
  • Recording Duration Display
  • Recording Status Indicator

The recording must capture actual Minecraft gameplay, including:

  • Player movement
  • Camera movement
  • Blocks and surroundings
  • Mobs and entities
  • GUI and HUD
  • Inventory and menus
  • In-game animations

The recording should represent exactly what the player sees on their screen.

  1. Performance Optimization (MOST IMPORTANT)

The entire architecture must be designed around low-end hardware.

A. Asynchronous Recording

  • Never perform video encoding on Minecraft's main/render thread.
  • Capture frames with minimal overhead.
  • Send frames to a dedicated background encoding thread.
  • Use a bounded frame buffer.
  • Never allow the buffer to grow indefinitely.
  • Avoid unnecessary frame copying.
  • Reuse allocated buffers wherever possible.
  • Avoid frequent object allocations and garbage collection.
  • Keep recording tasks separate from Minecraft's game logic.

B. Adaptive FPS Recording

Provide these recording FPS options:

  • 15 FPS
  • 20 FPS
  • 24 FPS
  • 30 FPS
  • 60 FPS (optional, only for capable devices)

Default recording FPS: 20 FPS.

Do not force Minecraft to render at the recording FPS.

The recorder should capture frames at the selected recording interval without unnecessarily increasing the game's rendering workload.

C. Smart Frame Handling

Implement an efficient frame acquisition system.

  • Avoid capturing duplicate frames unnecessarily.
  • Support frame skipping when the encoder falls behind.
  • Never freeze the game waiting for encoding.
  • Prioritize Minecraft gameplay over recording.
  • Provide an option to drop frames instead of slowing down the game.
  • Keep frame timestamps consistent.
  • Avoid creating additional rendering passes.

D. Hardware Acceleration

Where supported, provide optional hardware encoding using platform-supported encoders.

Possible options:

  • Intel Quick Sync
  • NVIDIA NVENC
  • AMD hardware encoding
  • Software encoding fallback

Hardware acceleration must be optional and automatically disabled if unsupported.

Do not assume every low-end computer has a dedicated GPU.

E. Low Resource Usage

Implement:

  • Configurable recording resolution.
  • Configurable bitrate.
  • Configurable FPS.
  • Limited memory allocation.
  • Efficient buffer management.
  • Minimal background CPU usage.
  • No unnecessary real-time video processing.
  • No recording-related network activity.

The recorder should never continuously consume excessive resources when recording is disabled.

  1. Recording Quality Settings

Create the following presets:

Potato Mode

  • Resolution: 480p
  • FPS: 15
  • Bitrate: 1 Mbps
  • Encoder: Low CPU usage
  • Priority: Maximum performance preservation

Low-End Mode

  • Resolution: 720p
  • FPS: 20
  • Bitrate: 2 Mbps
  • Encoder: Balanced

Balanced Mode

  • Resolution: 720p
  • FPS: 30
  • Bitrate: 4 Mbps

High Quality Mode

  • Resolution: 1080p
  • FPS: 30
  • Bitrate: 6 Mbps

Allow users to customize resolution, FPS, and bitrate.

If the selected encoder cannot maintain the configured settings, prioritize game performance and gracefully reduce recording quality or drop frames.

  1. Video Format and Saving System

Save all recordings directly inside the mod's dedicated directory.

Suggested folder structure:

.minecraft/ └── ultraLiteRecorder/ ├── recordings/ │ ├── Recording_001.mp4 │ ├── Recording_002.mp4 │ └── Recording_003.mp4 ├── thumbnails/ ├── temp/ └── config/

Requirements:

  • Use MP4 as the preferred output format.
  • Use H.264 encoding where supported.
  • Ensure recordings are playable in common video players.
  • Automatically generate recording filenames using date and time.
  • Never overwrite an existing recording.
  • Clean up temporary files after successful encoding.
  • Recover or preserve incomplete recordings after unexpected shutdowns wherever technically possible.
  • Never delete saved recordings automatically.

The recording must be saved locally. No cloud uploads.

  1. In-Game GUI

Create a clean, minimal Minecraft-style recording interface.

The interface should include:

Main Menu

  • Start Recording
  • Stop Recording
  • Pause / Resume
  • Open Recordings Folder
  • Recording Settings

Recording Overlay

Display a small indicator:

  • Red recording dot
  • Recording duration
  • Current recording FPS
  • Selected resolution

The overlay must be customizable and should not obstruct gameplay.

Allow users to hide the recording overlay completely.

Settings Menu

Include:

  • Recording FPS
  • Recording Resolution
  • Video Bitrate
  • Encoding Method
  • Performance Preset
  • Frame Dropping
  • Automatic Recording
  • Recording Folder
  1. Keyboard Shortcuts

Provide configurable default shortcuts:

  • F9: Start / Stop Recording
  • F10: Pause / Resume Recording
  • F11: Open Recorder Menu

Prevent shortcut conflicts with Minecraft's existing key bindings.

  1. Recording Library

Add an in-game recording library.

Features:

  • Display saved recordings.
  • Show recording name.
  • Show duration.
  • Show resolution.
  • Show FPS.
  • Show file size.
  • Open recording folder.
  • Delete recordings only after confirmation.
  • Rename recordings.

Do not load entire video files into RAM just to display the library.

  1. Technical Architecture

Use an efficient modular architecture:

  1. Recording Controller
  2. Frame Capture Manager
  3. Frame Buffer Manager
  4. Background Encoding Worker
  5. Video File Writer
  6. Configuration Manager
  7. Recording GUI
  8. Recording Library

Important engineering rules:

  • Main Minecraft thread must never wait for video encoding.
  • Render thread must never perform disk writing.
  • Use bounded queues and backpressure.
  • Handle encoder initialization and shutdown safely.
  • Handle resolution changes.
  • Handle game crashes gracefully.
  • Ensure proper resource cleanup.
  • Do not introduce memory leaks.
  • Do not interfere with Minecraft's normal rendering pipeline.

Use the least expensive capture method compatible with the chosen Minecraft version and mod loader.

Do not implement expensive frame-by-frame rendering or unnecessary GPU readbacks.

  1. Compatibility

Before development, confirm:

  • Minecraft version.
  • Fabric / Forge / NeoForge compatibility.
  • Java version.
  • Operating system support.

Initially target Fabric for the selected Minecraft Java Edition version.

Keep the architecture modular so additional mod loaders can be supported later.

  1. Performance Testing

Performance testing is mandatory.

Test the mod under these conditions:

  1. Recording disabled.
  2. Recording enabled at 480p / 15 FPS.
  3. Recording enabled at 720p / 20 FPS.
  4. Recording enabled at 720p / 30 FPS.
  5. Recording enabled while exploring new chunks.
  6. Recording enabled during combat.

Compare FPS, CPU usage, RAM usage, GPU usage, frame-time consistency, and dropped recording frames.

Use a low-end test configuration, including:

  • 2-core or 4-core CPU.
  • 4 GB RAM system.
  • Integrated graphics.
  • No dedicated GPU.

Set measurable performance targets.

The recording system should aim for minimal FPS degradation, ideally around 0–3% on supported hardware, but never claim this target has been achieved without actual benchmarking.

If the recorder causes major FPS drops, investigate and optimize the capture pipeline before considering the mod complete.

  1. Deliverables

Provide:

  1. Complete working source code.
  2. Gradle project.
  3. Fabric mod configuration.
  4. Required dependencies.
  5. Build instructions.
  6. Compiled mod JAR.
  7. Default configuration file.
  8. Performance testing report.
  9. Instructions for installing the mod.
  10. Known limitations.

Do not provide mockups or pseudocode as the final implementation.

Build and test the actual mod.

FINAL PRIORITY: The player should be able to record Minecraft gameplay on a low-end computer without experiencing the severe FPS drops commonly associated with traditional screen recording software. Game performance must always take priority over recording quality.

Kodari AI
KodariNov 13 at 5:11 pm 7
UltraLiteRecorder
A Fabric mod for Minecraft 1.21.1 that provides lightweight in-game gameplay recording optimized for low-end PCs. Captures actual on-screen gameplay via efficient frame grabbing with minimal FPS impact. Features asynchronous background H.264/MP4 encoding, bounded frame buffering with smart frame dropping, adaptive recording FPS (15-60), and configurable quality presets (Potato to High Quality). Includes a minimal in-game GUI with recording controls, overlay indicator, settings menu, recording library, and configurable hotkeys (F9/F10/F11). Saves recordings locally to the ultraLiteRecorder folder with automatic timestamped filenames. Prioritizes game performance over recording quality through hardware acceleration support, buffer reuse, and zero main-thread encoding.
  1. Build the client-side recorder pipeline with bounded buffering and background H.264 encoding.

  2. Add capture, hotkeys, status overlay, a compact in-game control screen, and recording-file management.

  3. Include default settings and setup/performance notes, while clearly documenting external encoder and benchmark limitations.

Implemented the UltraLite Recorder Fabric 1.21.11 project with a Gradle setup, default configuration, in-game controls, settings, recording library, and performance report.

  • Capture reads the already-composited framebuffer through Minecraft’s fenced GPU readback API. A bounded queue and background worker keep encoding and video-file writing off the render thread; overloaded recording drops frames rather than waiting.

  • F9 starts/stops, F10 pauses/resumes, and F11 opens the recorder menu. The UI includes presets, FPS/resolution/bitrate and encoder settings, overlay and auto-record toggles, folder selection, and recording rename/delete with confirmation.

  • FFmpeg is required but not bundled. The mod probes available H.264 encoders, tries supported hardware options, and falls back to software when available. Audio is not captured; a game resolution change ends the current clip.

  • Performance testing was not run. PERFORMANCE_REPORT.md documents the test matrix and targets as unverified goals—not achieved results.

To build and download the JAR in Kodari: click Compile in the top bar (phone: ⋮ → Compile Project), click Compile in the window, then download the successful build. If compilation fails, use Auto-fix in chat or Fix in the build window. Install FFmpeg separately and set its executable path in the recorder settings if it is not on your system PATH.

gamerswarit

Make sure that ffmpeg is not required

Kodari AI
KodariNov 15 at 4:13 am 2
  1. Replace the FFmpeg dependency with a bundled Java-only video encoder.

  2. Update encoder selection, defaults, and setup notes to remove FFmpeg requirements.

FFmpeg is no longer required. The mod now uses Java’s built-in JPEG encoder to write AVI/MJPEG recordings on its background worker, and the in-game library handles .avi files.

The tradeoff is that recordings are not H.264 MP4, can be larger, and the bitrate setting is only an approximate quality target.

gamerswarit

I am getting a Fabric Loader compatibility error when launching Minecraft with my mod (ultralite_recorder 1.0.0)span_0span_0. The error states that my mod requires fabricloader 0.19.2 or later, while my environment is running fabricloader 0.18.2span_1span_1.

Please update my fabric.mod.json file (and gradle.properties if needed) so that the mod is compatible with Fabric Loader 0.18.2 (by setting "fabricloader": ">=0.18.2" under "depends"), and ensure the code does not rely on any features exclusive to 0.19.2+.

Kodari AI
KodariNov 15 at 4:26 am 1
  1. Lower the mod metadata’s Fabric Loader minimum to 0.18.2.

  2. Align the Gradle loader_version with that minimum.

  3. The source only uses the longstanding ClientModInitializer entrypoint; no direct 0.19.2-only Loader API usage was found.

Updated the mod’s Loader dependency to >=0.18.2 and set Gradle’s loader_version to 0.18.2. The source audit found no direct Loader APIs newer than the ClientModInitializer entrypoint.

This changes the declared minimum; I haven’t verified a launch against Fabric Loader 0.18.2.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
PERFORMANCE_REPORT.md
README.md
settings.gradle
Code
21 2,017
src/client/java/com/kodari/ultraliterecorder/UltraLiteRecorderClient.java
package com.kodari.ultraliterecorder;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;

public final class UltraLiteRecorderClient implements ClientModInitializer {
    public static final String MOD_ID = "ultralite_recorder";
    public static RecorderConfig CONFIG;
    public static RecorderController CONTROLLER;

    private static KeyBinding toggleRecording;
    private static KeyBinding pauseRecording;
    private static KeyBinding openMenu;
    private boolean wasInWorld;

    @Override
    public void onInitializeClient() {
        MinecraftClient client = MinecraftClient.getInstance();
        CONFIG = new RecorderConfig(client.runDirectory.toPath());
        CONTROLLER = new RecorderController(CONFIG);

        KeyBinding.Category category = KeyBinding.Category.create(Identifier.of(MOD_ID, "recorder"));
        toggleRecording = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultralite_recorder.toggle_recording", InputUtil.GLFW_KEY_F9, category));
        pauseRecording = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultralite_recorder.pause_recording", InputUtil.GLFW_KEY_F10, category));
        openMenu = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultralite_recorder.open_menu", InputUtil.GLFW_KEY_F11, category));

        ClientTickEvents.END_CLIENT_TICK.register(currentClient -> {
            while (toggleRecording.wasPressed()) {
                CONTROLLER.toggleRecording(currentClient);
            }
            while (pauseRecording.wasPressed()) {
                CONTROLLER.togglePause();
            }
            while (openMenu.wasPressed()) {
                currentClient.setScreen(new RecorderScreen());
            }

            boolean inWorld = currentClient.player != null && currentClient.world != null;
            if (!inWorld) {
                this.wasInWorld = false;
            } else if (!this.wasInWorld) {
                this.wasInWorld = true;
                if (CONFIG.autoRecord() && CONTROLLER.state() == RecorderController.State.IDLE) {
                    CONTROLLER.start(currentClient);
                }
            }
        });

        HudElementRegistry.addLast(Identifier.of(MOD_ID, "recording_status"), (context, tickCounter) -> drawStatus(client, context));
        ClientLifecycleEvents.CLIENT_STOPPING.register(currentClient -> CONTROLLER.stop());
    }

    public static void captureFrame(MinecraftClient client) {
        RecorderController controller = CONTROLLER;
        if (controller != null) {
            controller.captureFrame(client);
        }
    }

    private static void drawStatus(MinecraftClient client, DrawContext context) {
        RecorderController controller = CONTROLLER;
        RecorderConfig config = CONFIG;
        if (controller == null || config == null || !config.showOverlay()) {
            return;
        }
        RecorderController.State state = controller.state();
        if (state != RecorderController.State.RECORDING && state != RecorderController.State.PAUSED) {
            return;
        }

        int dotColor = state == RecorderController.State.RECORDING ? 0xFFFF3B30 : 0xFFFFB020;
        context.fill(8, 8, 14, 14, dotColor);
        context.drawText(client.textRenderer, Text.literal(controller.statusText()), 19, 6, 0xFFFFFFFF, true);
    }
}