mirror of
https://github.com/GTNewHorizons/GuideNH.git
synced 2026-12-06 17:17:04 +00:00
Page:
Debug Mode
Pages
Annotations zh CN
Annotations
Debug Mode zh CN
Debug Mode
Developer Integration zh CN
Developer Integration
Examples zh CN
Examples
FAQ zh CN
FAQ
GameScene zh CN
GameScene
Getting Started zh CN
Getting Started
Guide Page Format zh CN
Guide Page Format
Home en US
Home zh CN
Home
Images And Assets zh CN
Images And Assets
Installation zh CN
Installation
Live Preview zh CN
Live Preview
Localization zh CN
Localization
Mod Compatibility zh CN
Mod Compatibility
Navigation zh CN
Navigation
Ponder zh CN
Ponder
Recipes zh CN
Recipes
Search zh CN
Search
Server Integration zh CN
Server Integration
Structure Export zh CN
Structure Export
Syntax Completion zh CN
Syntax Completion
Tags Reference zh CN
Tags Reference
Templates zh CN
Templates
No results
Table of contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Debug Mode
Use the debug overlay to inspect page layout, interaction regions and scene elements.
Activation
Press Ctrl + Shift + Alt + C in any GuideNH screen, or enable GUI Debug Overlay (guiDebugMode) in the mod configuration.
Inspecting a page
- The lower-left panel shows mouse position, FPS, memory, the hovered element and optional parent information.
- Enable element outlines to check positions, sizes and container boundaries.
- The bottom
Debug Optionsmenu controls displayed information, prints the document tree, recompiles the current page and exports debug data. - Tree output and exported data are written to the Minecraft log. Include the page source, reproduction steps and relevant log entries when reporting a problem.
Configuration
Use the debug category in config/guidenh/guidenh.cfg or the mod configuration screen.
| Setting | Default | Range |
|---|---|---|
debugTextScale |
0.8 |
0.5–2.0 |
debugOutlineThickness |
2.0 |
0.5–5.0 px |
debugDashAnimationCycleMs |
2000 |
500–10000 ms |
debugDashWidth |
2.0 |
0.5–5.0 px |
debugDashOnLength |
4.0 |
1–20 px |
debugDashOffLength |
4.0 |
1–20 px |
Individual switches control hovered/parent information, outlines, FPS, memory and mouse position. Disabling debug mode hides the overlay and retains its settings.
Mod developers can register custom element information; see Developer Integration.
GuideNH Wiki
English
- Home
- Installation
- Getting Started
- Live Preview
- Guide Page Format
- Navigation
- Search
- Images And Assets
- Tags Reference
- Syntax Completion
- GameScene
- Structure Export
- Annotations
- Ponder
- Recipes
- Localization
- Templates
- Examples
- Mod Compatibility
- Server Integration
- Debug Mode
- Developer Integration
- FAQ