Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 ProtectionDomain
s 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...
- Be sure to back up your
minecraft.jar
! - Extract the content of the mod zip into the
minecraft.jar
file - Delete the
META-INF
folder in there - Overwrite any existing files when doing so!
- ???
- 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! :)