选哪一个?
省流:取决于你在用什么框架。
| 构建工具 | "MCP"? | Yarn? | 官方表 | 官方表+Parchment/Crane? |
|---|---|---|---|---|
| ForgeGradle | 原生支持 (1) | 需要插件 (2) | 原生支持 | 需要插件 |
| Fabric Loom | 暂无支持 | 原生支持 | 原生支持 | 原生支持 |
备注:
- 最高支持到 Minecraft 1.15.1。对于 1.16 ~ 1.16.5,有 Forge 团队的外围成员提供了一套人力整理出来的临时映射表作为缓冲。这套临时反混淆表协议不明,且缺失大量和世界生成、渲染相关的数据。
- 暂时还没有此类插件出现。
With the decommission of MCPBot, the only two feasible choices left are Yarn and official mappings (w/ additional mappings for parameters and javadocs).
It is recommended to use Official mappings for the following reasons:
- No need to wait for update: they are shipped alongside with every new release.
- Representative: they faithfully reflect how Mojangstas believe Minecraft is structured
- Unification: different modding ecosystem can now possibly share a single, consistent mapping system, reducing communication obstacle.
It is also recommeded to use Yarn for the following reasons:
- No legal burden: Official mapping is released under a ambiginous license in which the "red tape" is blurred.
- Out-of-box parameters and javadocs: official mapping does not contain information about parameters, nor javadocs. There are other crowdsource projects to provide them as a complement, but relying on other projects means further delay. Yarn is well-known for fast update on snapshots, meaning the trade-off between few hours and detailed documentation out-of-box is worthwhile.
For projects like Plasma, use them when you are dealing with legacy versions of Minecraft like beta-1.7.3.
QuiltMC is still in development; its website has not provided information on how to use QSL (Quilt Standard Libaray) to develop a mod. Therefore we won't recommend their mapping for the use with Quilt Loader+QSL for now.