📎
1 file
5,368 chars
📄
pasted-code-1793624070687.txt
txt
167 lines
▶
pasted-code-1793624070687.txt
txt
167 lines
# PROJECT: FRAMEFORGE — COMPLETE MINECRAFT FABRIC MOD
Act as a senior Minecraft Java developer, Fabric mod developer, performance engineer, and QA tester.
You are working on my existing project, **FrameForge**. Your task is to finish it, fix compatibility problems, implement its features, compile it, and give me a working `.jar` file that I can test.
IMPORTANT: Do not just explain how to make the mod. Actually modify the uploaded source code, build the project, and provide the compiled JAR.
## 1. Target environment
- Minecraft: 26.3
- Mod loader: Fabric
- Fabric Loader: 0.19.5
- Fabric API: 0.165.0+26.3
- Java: 25
- Build system: Gradle
- Mod ID: frameforge
- Mod version: 0.4.0
- Client-side mod only
Use compatible, verified versions of all dependencies. Check the actual 26.3 mappings and Fabric APIs before writing code.
## 2. My PC specifications
- Windows 10
- Intel Core i5-6500P
- 16 GB RAM
- NVIDIA GT 740
- 2 GB VRAM
- Minecraft resolution: 1920×1080
- Minecraft: Fabric + Sodium + Iris
- Shader: MakeUp Ultra Fast
The main objective is to reduce GPU and CPU workload, heat, and unnecessary power consumption while keeping gameplay smooth.
## 3. Required features
### In-game settings
- Open the FrameForge menu using F7.
- Create a clean, modern Minecraft-style settings interface.
- Make all controls functional.
- Save settings between game launches.
### FPS management
- Configurable foreground FPS limit.
- Background FPS limit, default 30.
- Separate controls for foreground and background.
- Correctly restore the user's original settings when FrameForge is disabled.
### Performance profiles
Create three working profiles:
1. Cool & Quiet
- Lower FPS limit.
- Reduced rendering workload.
- Lower render and simulation distances.
2. Balanced
- Balanced FPS and graphics workload.
- Moderate render and simulation distances.
3. Smooth
- Higher FPS limit.
- Prioritize smooth gameplay while respecting user limits.
Do not claim these profiles reduce GPU usage unless their settings actually change workload.
### Distance controls
- Render distance presets.
- Simulation distance presets.
- Allow users to customize values.
- Apply changes immediately and safely.
### Performance monitoring
Display:
- Current FPS.
- Estimated frame time.
- CPU usage when available.
- GPU usage when available.
- GPU temperature only when a reliable supported hardware interface provides it.
Clearly distinguish measured values from estimates. Never fabricate hardware readings.
### Sodium and Iris compatibility
- Detect whether Sodium is installed.
- Detect whether Iris is installed.
- Detect active shader information where supported.
- Provide shader performance recommendations.
- Do not claim a shader is compatible merely because Iris is installed.
### Configuration management
- Save settings to a configuration file.
- Back up settings.
- Restore previous settings.
- Provide a reset-to-default option.
- Handle corrupted configuration files safely.
## 4. Actual optimization requirement
This is the most important part.
FrameForge must do more than display statistics.
Implement real, safe workload-reduction features using supported Minecraft/Fabric APIs.
Prioritize:
- FPS limiting.
- Background throttling.
- Render-distance management.
- Simulation-distance management.
- Safe graphics setting adjustments.
- Avoiding unnecessary background updates.
Do not implement fake GPU optimizations or claim direct GPU control if Minecraft or the available APIs do not provide it.
Do not modify graphics drivers, overclock hardware, or use unsafe system-level techniques.
## 5. Development requirements
1. Inspect every existing source file in the uploaded project.
2. Preserve useful existing features.
3. Fix all Minecraft 26.3 API incompatibilities.
4. Verify rendering and GUI APIs against Minecraft 26.3.
5. Use Java 25.
6. Configure Gradle and Fabric Loom correctly.
7. Resolve all compilation errors.
8. Build the actual mod JAR.
9. Check that the resulting JAR contains the correct Fabric metadata and compiled classes.
10. Do not replace real implementations with placeholder code.
If a feature cannot be implemented reliably, explain why instead of pretending it works.
## 6. Testing requirements
Perform these checks:
- Gradle compilation.
- JAR integrity check.
- Fabric metadata validation.
- Dependency compatibility validation.
- Client launch test if a Minecraft 26.3 environment is available.
- F7 menu test.
- FPS limit test.
- Profile switching test.
- Configuration save and restore test.
- Sodium/Iris detection test.
Clearly separate:
- Compiled successfully.
- JAR validated.
- Minecraft launched successfully.
- Features tested in-game.
Never claim a test passed unless it was actually performed.
## 7. Final deliverables
I need:
1. The compiled `FrameForge-0.4.0.jar`.
2. The complete updated source project as a ZIP.
3. A short changelog.
4. A list of tested features.
5. Any known limitations.
**MOST IMPORTANT: Give me the actual downloadable JAR file. Do not finish with instructions alone. Do not give me an empty JAR, placeholder JAR, or an uncompiled source archive and call it a finished mod.**
KodariNov 2 at 12:58 pm 1
FrameForge
FrameForge is a client-side Fabric mod for Minecraft 26.3 that optimizes performance through real workload reduction. It provides an F7 keybind opening a modern settings menu with configurable foreground and background FPS limits, three performance profiles (Cool & Quiet, Balanced, Smooth), and adjustable render and simulation distances. The mod actively manages FPS throttling, background updates, and safe graphics settings to reduce GPU/CPU load. It includes performance monitoring displaying FPS, frame time, and hardware metrics when reliably available, with clear distinction between measured and estimated values. FrameForge detects Sodium and Iris installations, provides shader recommendations, and manages configuration with backup, restore, and reset functionality. All settings persist between launches and restore user preferences when disabled.
Please upload the FrameForge source project as a ZIP. The attachment contains the specification, but no source files, so I can’t preserve or fix the existing implementation.
No JAR has been built or tested yet. Once the source is available, I can work on the mod; Kodari’s Compile button produces the downloadable JAR.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code