DHMPEMFixer

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/dhmpemfixer
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: library optimization

资源介绍

This mod has been marged into the MPEM MOD 3.0 version.

In the following text, the DH will be used instead of the Distant Horizons mod,and the MPEM will be used instead of the Moonlit Performance Enhancement Module mod.

If you don't install this mod in the client side,the DH will crash because the field named PACKET_SENDER in the ForgeClientProxy class or the field named MC in it is null.
And if you don't install this mod in the server side,the DH will crash because the field named PACKET_SENDER in the ForgeServerProxy class is null.

Why DH will crash?

Because the MPEM mod modified the Forge Event System,although in almost mods,it is okay,however,This modification affected the DH mod,make it won't run in a right way.

How to fix it?

This mod fixed it by using the mixin.This mod injected the ForgeClientProxy and ForgeServerProxy class to let the fields won't be null.If the field is null,this mod will modify it to make it not be null.

在接下来的文本中,DH将被用来代替遥远的地平线模组,MPEM将被用来代替月夜性能优化模组。

如果你没有在客户端安装这个mod, DH则将会崩溃,因为在ForgeClientProxy类中名为PACKET_SENDER的字段或在其中名为MC的字段为空。
如果你没有在服务器端安装这个mod, DH则将会崩溃,因为在ForgeServerProxy类中名为PACKET_SENDER的字段是空的。

为什么DH会崩溃?

因为MPEM 模组修改了Forge 的事件系统,虽然在几乎所有的模组中,这是无伤大雅的,但是,这个修改却影响了DH 模组,使它不能以正确的方式运行。

如何解决这个问题?

这个模组通过使用mixin来修复它。这个模组注入了ForgeClientProxy和ForgeServerProxy类,让字段不会为空。如果字段为空,这个模组将修改它,使其不为空。

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Panorama Tweaker

价格:0 墨喵币
下载量:0

查看详情
Rings of Ascension

价格:0 墨喵币
下载量:0

查看详情
[MTS/IV] Sphase Vehicle Mashup Pack (SVMP)

价格:0 墨喵币
下载量:0

查看详情
Wynncraft: Donjons

价格:0 墨喵币
下载量:0

查看详情