跳到正文

Markdown Manual

作者:Sangar

Library mod for creating in-game manuals.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

MarkdownManual is a library mod enabling in-game manuals with content defined in Markdown documents. It is intended to be used by mod developers to provide in-game documentation of their mods in a simple manner. The mod provides a simple default manual look, but can be re-styled easily, or completely embedded into existing UI. This mod adds no player-facing content on its own.

For an example of how to use this library, see TIS-3D, which uses this for its in-game manual. For the required setup in code, please see the Manuals class. For content definition of the manual, please see the doc directory. But the short of it is: register a new manual with the manuals registry, register content for the new manual, register an item to make the manual available to players. Content documents are Markdown documents that may have links to other content documents. Images and blocks/items can be embedded using Markdown style image references (for example Tooltip).

Here are some example screenshots, demonstrating how flexible the styling of the default manual UI is. Same content three times with different skins:

Default UI.

Custom UI.

Custom dark UI.

常见问题

Markdown Manual 支持哪些 Minecraft 版本?

Markdown Manual 支持 Minecraft Java 版 1.18.2–1.21.11,共 9 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Markdown Manual 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Sangar 的其他作品

查看全部 →