Legacy OptiFabric

Quick rating

Legacy OptiFabric

No reviews yet

OptiFabric for Legacy Fabric (1.3.1 to 1.13.2) and Ornithe (b1.7.3 to 1.14.4)

No Theme
No Genre
Performance & Optimization
Mod Fork/Port
Mod Addon
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client Only

Runs entirely on the client. Works on vanilla servers.

About

Project Details

Type
Mod
License
Mozilla Public License 2.0
Latest Version
2.3.6+b1.7.3-1.14.4
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

for mcsr: use mods.tildejustin.dev

If you're looking for OptiFabric for 1.14 to 1.15.2 for regular Fabric instead of Ornithe, check out OptiFabric Origins

Legacy OptiFabric

OptiFabric for Legacy Fabric (1.3.1-1.13.2) and Ornithe (b1.7.3-1.14.4)

based on the work of RedLime's OptiFabric-Pre1.14, a fork of hYdos's OptiFabric 1.8.9 which in turn is a derivative of modmuss' original OptiFabric

installing

this mod requires an optifine jar in the mods folder alongside optifabric. for 1.7.2 and onwards this can be sourced from OptiFine's official website, and older versions these can be retrieved either from SpeedyCube64's Pre-1.9 Optifine Archive or on the OptiFine history thread.

how it works

this mod uses Minecraft-Java-Edition-Speedrunning/fabric-asm, a minor derivative of Cat Core's Fabric-ASM/no-guava which itself is an updated version of Chocohead's fabric-asm. fabric asm allows more extreme asm modification and the fork used has no dependency on guava or apache commons, which older minecraft versions don't provide.

steps

  1. the mod looks for an optifine installer or mod jar or zip in the current mods folder
  2. if it finds an installer jar it runs the extract task in its own throwaway classloader
  3. the optifine mod jar is a set of classes that need to replace the ones that minecraft provides
  4. optifine's replacement classes change the name of some lambda methods, so it take a good guess at the old name (using the original minecraft jar)
  5. remap optifine to intermediary
  6. move the patched classes out as they won't do much good on the classpath twice
  7. add optifine to the classpath
  8. register the patching tweaker for every class that needs replacing
  9. replace the target class with the class that was extracted, also do some more fixes to it, and make it public (due to access issues)
  10. hope it works

notes

  • this mod does not really work in dev or named environments. In Legacy Fabric's case the yarn builds are corrupted in some versions so this cannot work atm, feather is better but still has issues.
  • the accessWideners are created based on the output of tiny remapper's checkPackageAccess option, but they are unlikely to ever be 100% complete. if you have a crash that has to do with and invalid access, report it and it may be able to be fixed.

class excluder

this is a kind of hidden feature that is occasionally useful to remove files when remapping the jar. to do this, it reads the optifabric-excluded-classes.json file in .minecraft/config/ if it exists, and expects the file to contain a mapping of versions (field names) to an array of removable classes (or textures or anything else, it's just a filename). an example file contents to revert the removal of the profiler for 1.3.2 light is provided below. if the optifine version you are trying to make an excluder extry for has already been loaded before in your instance, delete its folder in the .optifine folder in .minecraft to force a recache.

{
  "OptiFine_1.3.2_L_B2": [
    "ik.class"
  ]
}

Screenshots

Gallery

  • Optifabric Showcase
    Optifabric Showcase

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~26,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works