- Java 94.1%
- JavaScript 4.5%
- CSS 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* 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> |
||
| .github/workflows | ||
| gradle | ||
| src | ||
| tools | ||
| web-editor | ||
| wiki | ||
| .gitignore | ||
| build.gradle.kts | ||
| dependencies.gradle | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE.txt | ||
| README.md | ||
| README_zh.md | ||
| repositories.gradle | ||
| settings.gradle.kts | ||
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
Gto open the guide home page. - Hold
Gwhile hovering an indexed item or a recognized fluid display/container to jump to its guide entry. - Press
F3+Tto 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:
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.