Display Node info
Display Node info
Hi, I know that the node info of the current highlighted node is shown in the debug info. But is it possible to show this info in a info box in the bottom right corner for example?
Re: Display Node info
burli wrote: Hi, I know that the node info of the current highlighted node is shown in the debug info. But is it possible to show this info in a info box in the bottom right corner for example?
Short answer: No. Not directly.
Long answer: Yes, but it's complicated and you don't get everything.
P. S. I started work on the Medusa Mod to solve a similar problem, but events have dragged me away before I could finish the logic and get it working.
Re: Display Node info
You can get the node info and display it in the hud.
Get node http://dev.minetest.net/minetest.get_node
Then get the info you want from it
Then display it to the player in the hud http://dev.minetest.net/Player
Edit - You might want to check out this mod viewtopic.php?f=9&t=13358
Get node http://dev.minetest.net/minetest.get_node
Then get the info you want from it
Then display it to the player in the hud http://dev.minetest.net/Player
Edit - You might want to check out this mod viewtopic.php?f=9&t=13358
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: Display Node info
I found a rather nasty memory leak bug in my code.
It'll need a complete redesign to remove.
It'll need a complete redesign to remove.
Now that's really cool.Don wrote: Edit - You might want to check out this mod viewtopic.php?f=9&t=13358
Re: Display Node info
Have you looked at https://github.com/minetest-mods/inspector ? Perhaps this gives you what you need.
Re: Display Node info
I've updated my mod, but it's still got a few bugs in it.
Torches don't show up as they should.
Haven't figured out the box bit yet.

Torches don't show up as they should.
Haven't figured out the box bit yet.

- Attachments
-
- identify.zip
- (7.34 KiB) Downloaded 138 times
Re: Display Node info
Looks great. I will test this out.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: Display Node info
I think, I will fork this, because I want a different look and less verbose
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum