This time, I noticed that I only used 2 pieces of information from the debug info output - the direction I'm looking in (+/- X/Z), and the name of the node I'm looking at. To this end - in an attempt to reduce visual noise (and make taking screenshots easier) - I've written another mod.
It's based on advanced_gui, and despite the name, it doesn't actually depend on worldedit.
It displays the name of the node you're looking at, and the direction you're facing in the HUD. It also adds the //hud chat command to toggle it on and off.
Here's a screenshot:
Here are some more screenshots:
Spoiler
► Changelog
- v0.1: 14th September 2018
- Initial release.
- v0.2: 16th September 2018
- Fix undeclared global variable access.
- v0.3: 2nd May 2020
- Fix potential bug in raycast
- Ignore `wielded_light:*` nodes when raycasting
- v0.4: 31st May 2021
- Fix deprecation warning for `getpos` → `get_pos` (#2)
- v0.5: 31st July 2021
- Add `//hudoffset [<offset_in_pixels>]` chat command to adjust the vertical offset of the HUD (fixes #1)
- Persist per-player settings to disk (per-world)
► Download
I strongly recommend using git to clone the repository to install this mod. If you can't, then I've provided an always up-to-date download link too :-)Note that if I don't reply to your message on here, I'll be much more responsive if you open an issue against the repository..
Repository | Clone | Download (Previous versions) | Issue Tracker
License: MPL-2.0 (Mozilla Public License 2.0) - no textures present
Mod dependencies: none