如何在不使用 Forge API 的情况下在 ModCoderPack 中使用 Forge mod [英] How do I use a Forge mod in ModCoderPack without using Forge API

查看:163
本文介绍了如何在不使用 Forge API 的情况下在 ModCoderPack 中使用 Forge mod的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 ModCoderPack 中使用 forge mod,但不想包含 forge SRC.有没有办法将 mod 的源代码添加到 vanilla 源以在我的客户端中使用?或者如何将伪造模块移植到 ModCoderPack 生成的香草源中?任何帮助都会很棒!谢谢!

I would like to use a forge mod in ModCoderPack but don’t want to have forge SRC included. Is there a way to add a mod’s source code to vanilla sources to use in my client? Or how can I port a forge mod into the vanilla sources ModCoderPack generated? Any help would be great! Thanks!

附言我有权在我的客户端中使用该模组.

P.S. I have permission to use the mod in my client.

推荐答案

没有简单的方法或工具可以实现您的目标.主要是因为以下差异:

There's no easy method or tool to achieve what you're after. Primarily because of the following differences:

MCP:

[ModCoderPack] 旨在帮助模组创建者反编译、更改和重新编译 Minecraft 类.

[ModCoderPack] was created to help mod creators to decompile, change and recompile the Minecraft classes.

锻造:

[Forge] 是一个庞大的 API 和模组加载器,模组制作者使用它来挂钩 Minecraft 代码并创建模组.Forge 在 Minecraft 游戏引擎中包含许多挂钩,允许模组制作者创建具有高度兼容性的模组

[Forge] is a massive API and mod loader used by modders to hook into Minecraft code and create mods. Forge contains numerous hooks into the Minecraft game engine, allowing modders to create mods with a high level of compatibility

因此 Forge 创建了一个可访问的 API,用于开发易于维护的mod,而 MCP 用于创建 Minecraft 客户端/服务器的修改版本,与 mod 的概念不同.

So Forge creates an accessible API for developing easily maintainable mods whereas MCP is used to create modified versions of Minecraft client/server, distinct from the concept of a mod.

Forge 建立在 MCP 之上,并添加了许多新功能.根据您的模组复杂性,将模组直接改写为 Minecraft 的反混淆源代码需要付出巨大的努力.

Forge is built on top of MCP and adds lots of new functionality. Depending on your mods complexity, it would take a tremendous amount of effort to rewrite the mod directly into Minecraft's deobfuscated source code.

除非您有很好的理由需要它,例如 MCP 的创建者说,只需使用 Forge!

Unless you have very good reasons to need this, like the creator of MCP said, just use Forge!

这篇关于如何在不使用 Forge API 的情况下在 ModCoderPack 中使用 Forge mod的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆