介绍
中文介绍正在准备中,下面暂时显示原文。
WrapperLib
A collection of multi-platform implementations of common tasks for developing Minecraft mods.
- Provides a uniform api across mod loaders and Minecraft versions.
- A priority is placed on never manually writing serialization code for nbt or byte buffers.
- Designed to be modular, so you can shadow only the parts you need and have no external dependencies.
- Each api concept is exposed as a Builder like class with no additional setup required.
- Extensive documentation (wiki & javadocs).
See wiki for more info.
- NetworkWrapper: send information between the client and the server.
- ConfigWrapper: allow players to configure mod features by editing json files.
- DataWrapper: save extra information with world data.
- RegistryWrapper: an api like Forge’s deferred register that can be called from common code.
- Helpers: simple utilities for multi-platform mods.
常见问题
WrapperLib 支持哪些 Minecraft 版本?
WrapperLib 支持 Minecraft Java 版 1.16.5–1.19.3,共 8 个版本,可用的加载器:Fabric / Forge / Quilt。下载时注意选择和你游戏版本一致的文件。
WrapperLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分