跳到正文

GuideME

作者:shartte

适用于模组和整合包制作者的指南书工具包,支持舒适易读的 Markdown 排版和实时 3D 场景!

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

GuideME

该项目为你的模组或整合包指南书提供基础框架。它基于驱动应用能源2指南书的技术构建,允许你使用简单的 Markdown 编写指南,同时还能直接从结构文件中嵌入 3D 场景。

对于玩家而言,基于 GuideME 的指南提供:

  • 顺畅的滚动体验
  • 内容始终处于中心位置,并配备支持重排和内联元素的高级文本布局引擎
  • 带有注释的交互式 3D 场景,以直观地展示你的模组中的各种概念
  • 主题之间的交叉链接,以及链接工具提示中的快速信息
  • 以“JEI 风格”在指南书中显示内联配方
  • 支持“按住 G”以快速跳转到物品工具提示中对应的指南书页面

对于模组作者而言,它提供了丰富的可扩展 API,允许你:

  • 为 Markdown 添加由自定义 Widget 系统支持的自定义内联标签或块级标签
  • 扩展配方渲染功能,以便在指南中显示你的自定义配方
  • 使用自定义 Markdown 前置元数据,轻松向指南书页面添加任意信息
  • 使用自定义索引,根据自定义属性快速查找页面
  • 允许资源包或附加组件向你的指南中添加自己的内容

示例

以下是应用能源2指南书中的一个示例页面(源文件)。

---
navigation:
  parent: ae2-mechanics/ae2-mechanics-index.md
  title: Channels
  icon: controller
---

# Channels

Applied Energistics 2's [ME Networks](me-network-connections.md) require
Channels to support [devices](../ae2-mechanics/devices.md) which use networked storage, or other network
services. Think of channels like USB cables to all your devices. A computer only has so many USB ports and can only support
so many devices connected to it. Most machines, full-block devices, and standard cables can only pass through
up to 8 channels. You can think of full-block devices and standard cables as a bundle of 8 "channel wires". However, [dense cables](../items-blocks-machines/cables.md#dense-cable) can support up
to 32 channels. The only other devices capable of transmitting 32 are <ItemLink id="me_p2p_tunnel" />
and the [Quantum Network Bridge](../items-blocks-machines/quantum_bridge.md). Each time a device uses up a channel, imagine pulling off a usb "wire" from
the bundle, which obviously means that "wire" isn't available further down the line.

<GameScene zoom="7" interactive={true}>
  <ImportStructure src="../assets/assemblies/channel_demonstration_1.snbt" />
</GameScene>

Example

评论

登录后评论和评分

shartte 的其他作品

查看全部 →