介绍
Yarn Mapping Provider Description
Yarn mapping is a project that aims to create a human-readable mapping file for the Minecraft codebase. Mapping files are used to translate obfuscated class, field, and method names to their original names.
Minecraft’s codebase is obfuscated, which means that the names of classes, fields, and methods are intentionally obfuscated to make it more difficult for others to understand and modify the code. This is done for legal reasons and to prevent cheating in multiplayer environments.
However, this obfuscation can make it difficult for developers to read and understand the code. Mapping files provide a way to translate the obfuscated names to their original names, making it easier to read and understand the code.
Features
- Automatically download mapping file.
- Provide “named” mapping to MappingResolver without having to use development environment. But runtime namespace still the same.
常见问题
Yarn Mapping Provider 支持哪些 Minecraft 版本?
Yarn Mapping Provider 支持 Minecraft Java 版 1.19–1.19.3,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Yarn Mapping Provider 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
评论
登录后评论和评分