No description
  • Java 94.1%
  • JavaScript 4.5%
  • CSS 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eldrinn Elantey 64e6f90231
Add guide language and reading settings (#168)
* Add guide language and reading settings

* use GuideIconButton

* Spotless apply for branch eldrinn-elantey/guide-language for #168 (#169)

spotlessApply

Co-authored-by: GitHub GTNH Actions <>

* Fix guide language and settings edge cases

* redo the interface

---------

Co-authored-by: ABKQPO <93412322+ABKQPO@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-12-05 20:26:01 +04:00
.github/workflows enhanced web editor, rework export site (#88) 2026-09-26 23:32:14 +08:00
gradle update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00
src Add guide language and reading settings (#168) 2026-12-05 20:26:01 +04:00
tools Gui screenshot (#161) 2026-11-25 01:24:21 +08:00
web-editor Improve resource handling and runtime reliability (#164) 2026-11-29 10:58:49 +08:00
wiki Add GUI and HUD capture with region snapping part-2 (#167) 2026-11-29 11:11:17 +08:00
.gitignore update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00
build.gradle.kts Gui screenshot (#161) 2026-11-25 01:24:21 +08:00
dependencies.gradle Improve resource handling and runtime reliability (#164) 2026-11-29 10:58:49 +08:00
gradle.properties update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00
gradlew update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00
gradlew.bat update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00
LICENSE.txt opti 2026-05-08 18:42:02 +08:00
README.md Add guide language and reading settings (#168) 2026-12-05 20:26:01 +04:00
README_zh.md Add guide language and reading settings (#168) 2026-12-05 20:26:01 +04:00
repositories.gradle update 2026-04-25 03:17:48 +08:00
settings.gradle.kts update+bs+deps+gitignore+gradle 2026-10-14 00:49:49 +02:00

GuideNH


Supported Minecraft Version Supported Forge Version License

English | 简体中文

Introduction

  • GuideNH is an in-game guide framework for Minecraft 1.7.10
  • It ports and extends GuideME-style Markdown documentation for GTNH-era modpacks.
  • It is designed for authoring rich guide books directly from resource-pack style Markdown files.
  • The GuideNH online editor can import, edit, and preview guide folders or ZIP archives in a browser. See the GTNH contribution guidelines for authoring guidance.

Required Dependencies

Features

  • Markdown pages with YAML frontmatter, navigation metadata, categories, anchors, tables, footnotes, Mermaid, LaTeX, charts, and highlighted text.
  • MDX-style runtime tags such as <ItemLink>, <ItemImage>, <FluidLink>, <FluidImage>, <Recipe>, <GameScene>, <ContentTabs>, <BlockStats>, <Tooltip>, <KeyBind>, and <PlayerName>.
  • Interactive 3D GameScene previews with block/entity placement, StructureLib import, Ponder playback, layer sliders, grid controls, annotations, and block statistics.
  • Live guide editing mode with split editor/preview, toolbar actions, debounced saving, external-change handling, and resource-pack page creation.
  • Multi-language guide folders with fallback, item and fluid index navigation, search, server integration, and resource reload support.
  • On first open, read the Welcome tab and select Next to configure the guide. The gear button opens the Settings tab directly. Preview the welcome page as you adjust the reading layout, choose the guide language, and configure shortcuts and scene scrolling.
  • GUI capture with snapping, enclosing selections and erasure, PNG export up to 32x, animation recording, scheduling, and configurable batch outputs.

Authors

  • Programmer: HFstudio
  • Upstream inspiration: GuideME

License

  • Code: LGPL-3.0
  • Bundled third-party libraries keep their own licenses.

Wiki

Quick Start

Install GuideNH and GTNHLib in the client's mods/ directory. Guide authors can use the online editor or edit UTF-8 Markdown directly.

In game:

  • Press G to open the guide home page.
  • Hold G while hovering an indexed item or a recognized fluid display/container to jump to its guide entry.
  • Press F3+T to reload edited guide resources.

DefaultGuide

GuideNH automatically creates config/guidenh/DefaultGuide/ on the client. It also supports config/guidenh/DefaultGuide.zip as a standard full resource pack, and the zip is preferred when both exist.

This directory uses a native namespace-root layout:

config/guidenh/DefaultGuide/
`-- <modid>/
    `-- guidenh/
        |-- assets/
        |   `-- shared_structure.snbt
        |-- _en_us/
        |   `-- index.md
        `-- _zh_cn/
            `-- index.md

The directory starts empty. Add your own pages and assets there when you want a client-side default guide source.

If you use DefaultGuide.zip, use the normal full resource-pack layout:

config/guidenh/DefaultGuide.zip
`-- assets/
    `-- <modid>/
        `-- guidenh/
            |-- assets/
            |-- _en_us/
            `-- _zh_cn/

wiki/resourcepack/ remains the repository example resource pack. It keeps the outer assets/ directory because it is used for documentation and example resource packs.

Authoring Example

---
navigation:
  title: Machines
  parent: index.md
author: GuideNH
date: 2026-05-10
---

# Machines

Press <KeyBind action="key.attack" /> to interact.

<GameScene width="220" height="150" interactive={true}>
  <Block id="minecraft:furnace" />
  <BlockStats corner="topRight" maxWidth="120" maxHeight="72" />
</GameScene>

Development

Example guide sources are in wiki/resourcepack/assets/; see Live Preview for authoring. Mod extension APIs are documented in Developer Integration.

.\gradlew.bat spotlessApply
.\gradlew.bat build
.\gradlew.bat runClient

Credits

Thanks to persephone for providing the icon textures!

Thanks to the following developers for their contributions to GuideNH:

contributors

GuideNH is based on ideas from GuideME, distributed under LGPL-3.0. It also uses open-source libraries including SnakeYAML, Apache Lucene, Apache Commons Lang, FlatBuffers Java, and JLaTeXMath.