Class Loader Fixer

Class Loader Fixer

Mod

Fixes the Class Loader in legacy Minecraft Forge

Client LibraryOptimizationUtility

322 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Summary

This mod fixes the Class Loader in legacy versions of Minecraft.

Details

This is a simple jar-mod which adds the CodeSource to each loaded class in FML.
That is actually everything this mod does (well, besides fixing a few more bugs on even older versions of Forge).
This mod just ships a backported RelaunchClassLoader which overwrites the built-in version (from FML) and allows mods to read the file source of classes.

Why is this needed in some cases?

For example, Block Helper is able to show you in the item tooltips which mod a given item is from.
This procedure relies on the CodeSource object of the ProtectionDomains of the loaded classes.
Old versions of FML do not set this CodeSource, which leads Block Helper into thinking that everything is a Vanilla item.

Installation

As a ModLoaderMP / Forge mod

This mod needs to be installed as a jar-mod. That means, you have to...

  1. Be sure to back up your minecraft.jar!
  2. Extract the content of the mod zip into the minecraft.jar file
  3. Delete the META-INF folder in there
  4. Overwrite any existing files when doing so!
  5. ???
  6. Profit!

As a Fabric mod

I do not have any Fabric versions available. However, the fix is incorporated directly into Fabricated Legacy Forge. Hence, you do not need to install it separately!

Unsupported mods

  • ObsidiPlates 1.4.2 was incompatible with v1. This is fixed in v2.

Please let me know about any incompatibilities! :)


Project members

HyperSpeeed

Owner

Details

Licensed MIT
Published 3 years ago
Updated 4 months ago