跳到正文

Class Loader Fixer

作者:HyperSpeeed

Fixes the Class Loader in legacy Minecraft Forge

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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! 🙂

常见问题

Class Loader Fixer 支持哪些 Minecraft 版本?

Class Loader Fixer 支持 Minecraft Java 版 1.3.1–1.4.5,共 8 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Class Loader Fixer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

HyperSpeeed 的其他作品

查看全部 →