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.
- Core Objective
Create a lightweight in-game recording system with these priorities:
- Minimum possible FPS impact.
- Very low CPU and RAM consumption.
- No unnecessary GPU workload.
- Background video encoding.
- Direct recording to the mod's own files directory.
- Simple and beginner-friendly controls.
- Compatibility with low-end hardware.
Do not prioritize visual recording quality over performance.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- Technical Architecture
Use an efficient modular architecture:
- Recording Controller
- Frame Capture Manager
- Frame Buffer Manager
- Background Encoding Worker
- Video File Writer
- Configuration Manager
- Recording GUI
- 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.
- 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.
- Performance Testing
Performance testing is mandatory.
Test the mod under these conditions:
- Recording disabled.
- Recording enabled at 480p / 15 FPS.
- Recording enabled at 720p / 20 FPS.
- Recording enabled at 720p / 30 FPS.
- Recording enabled while exploring new chunks.
- 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.
- Deliverables
Provide:
- Complete working source code.
- Gradle project.
- Fabric mod configuration.
- Required dependencies.
- Build instructions.
- Compiled mod JAR.
- Default configuration file.
- Performance testing report.
- Instructions for installing the mod.
- 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.
- Core Objective
Create a lightweight in-game recording system with these priorities:
- Minimum possible FPS impact.
- Very low CPU and RAM consumption.
- No unnecessary GPU workload.
- Background video encoding.
- Direct recording to the mod's own files directory.
- Simple and beginner-friendly controls.
- Compatibility with low-end hardware.
Do not prioritize visual recording quality over performance.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- Technical Architecture
Use an efficient modular architecture:
- Recording Controller
- Frame Capture Manager
- Frame Buffer Manager
- Background Encoding Worker
- Video File Writer
- Configuration Manager
- Recording GUI
- 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.
- 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.
- Performance Testing
Performance testing is mandatory.
Test the mod under these conditions:
- Recording disabled.
- Recording enabled at 480p / 15 FPS.
- Recording enabled at 720p / 20 FPS.
- Recording enabled at 720p / 30 FPS.
- Recording enabled while exploring new chunks.
- 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.
- Deliverables
Provide:
- Complete working source code.
- Gradle project.
- Fabric mod configuration.
- Required dependencies.
- Build instructions.
- Compiled mod JAR.
- Default configuration file.
- Performance testing report.
- Instructions for installing the mod.
- 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.