Class Loader Fixer
Mod Overview
This modification fixes the class loader operation in legacy versions of Minecraft, ensuring proper functionality of other mods.
How It Works
This is a simple jar extension that adds the CodeSource object for each loaded class in the FML system.
Essentially, this is the main purpose of this mod (although it also fixes several additional bugs in the oldest Forge versions).
The modification provides an updated version of RelaunchClassLoader that replaces the built-in FML implementation and allows mods to obtain information about file sources of classes.
Practical Application
For example, the Block Helper mod can display in item tooltips information about which mod the given item belongs to.
This functionality depends on the presence of the CodeSource object in the ProtectionDomain of loaded classes.
Older versions of FML do not set this CodeSource, causing Block Helper to mistakenly consider all items as vanilla.
Installation
For ModLoaderMP / Forge
The mod must be installed as a jar extension. To do this, you need to:
- Be sure to create a backup of the
minecraft.jarfile! - Extract the contents of the mod archive into the
minecraft.jarfile - Delete the
META-INFfolder inside the archive - Confirm replacement of existing files when copying!
- ???
- Done!
For Fabric
Separate versions for Fabric are not provided. However, this fix is already included in Fabricated Legacy Forge. Therefore, there is no need to install it separately!
Compatibility
- ObsidiPlates 1.4.2 was incompatible with version 1. This issue has been resolved in version 2.
Report any detected compatibility issues! :)