Project: OptiFabric 1.21.1 – PojavLauncher Edition
I have provided the original optifabric-1.14.3.jar. I want you to analyze its source code and develop a fully updated version compatible with Minecraft Java Edition 1.21.1, specifically optimized for Android users running Minecraft through PojavLauncher.
1. Main Requirements
- Original mod: OptiFabric 1.14.3.
- Target Minecraft: 1.21.1.
- Mod loader: Fabric.
- Target launcher: PojavLauncher.
- Platform: Android.
- Java version: Java 21.
- Architecture: Support Android ARM64 devices.
- Output: A working
.jarmod file.
2. Porting Requirements
- Analyze the original OptiFabric code.
- Update outdated Minecraft mappings and Fabric APIs.
- Update all incompatible Mixin injections.
- Fix removed, renamed and changed Minecraft classes and methods.
- Update Fabric Loader compatibility.
- Update Fabric API dependencies where required.
- Update OptiFine integration.
- Remove deprecated code.
- Fix all startup and runtime crashes.
- Do not simply change the Minecraft version inside fabric.mod.json.
- Preserve the original OptiFabric functionality wherever technically possible.
3. Mod Compatibility
Investigate and implement compatibility with the following mods where technically possible:
Performance Mods
- Sodium (only if a technically compatible OptiFine integration is possible; otherwise document the conflict).
- Lithium.
- FerriteCore.
- ImmediatelyFast.
- Entity Culling.
- More Culling.
- Enhanced Block Entities.
- Memory Leak Fix, if compatible with 1.21.1.
Visual Mods
- OptiFine.
- Iris Shaders.
- CIT Resewn.
- Continuity.
- Entity Texture Features.
- Entity Model Features.
- Zoomify.
Other Mods
- Mod Menu.
- Fabric API.
- ReplayMod, if compatible.
- Xaero's Minimap.
- Xaero's World Map.
Do not claim compatibility without testing. Provide a compatibility report for every mod.
4. PojavLauncher Optimization
- Ensure the mod works on Android.
- Avoid desktop-only dependencies.
- Check compatibility with PojavLauncher rendering environments.
- Avoid unnecessary background processes.
- Minimize memory usage.
- Fix Android-specific crashes.
- Ensure compatibility with supported renderers where possible.
- Do not force a renderer or GPU-specific feature.
5. Testing Requirements
Test the following:
- Minecraft 1.21.1 Fabric startup.
- Main menu loading.
- Creating a new world.
- Joining multiplayer servers.
- Loading resource packs.
- Loading shaders, if supported.
- Switching resource packs.
- Testing supported compatibility mods.
- Checking for Mixin conflicts.
- Testing on PojavLauncher Android.
6. Deliverables
Provide:
OptiFabric-1.21.1.jar- Required dependency JAR files.
- Source code.
- Gradle build files.
- Fabric metadata.
- Complete compatibility report.
- Installation instructions for PojavLauncher.
- Known issues and unsupported features.
7. Important Rules
- Do not provide a fake or renamed JAR.
- Do not simply edit the Minecraft version metadata.
- Do not remove important original features without explaining why.
- Do not include incompatible dependencies.
- Do not bundle copyrighted third-party mods without permission.
- Build a genuinely functional port.
- If OptiFine integration cannot be made stable, explain the technical limitation and provide a separate compatible alternative.
Final Goal: Create a stable, functional OptiFabric port for Minecraft 1.21.1 Fabric that can run through PojavLauncher on Android, with the maximum possible compatibility with supported Fabric mods.
This project is a Fabric 1.21.4 mod, but the requested port targets Fabric 1.21.1. Kodari does not currently support Fabric 1.21.1; nearby options are Fabric 1.21.4 and NeoForge 1.21.1.
No files in this session