
This mod is useless on its own, but it is supposed to be used by other mods.
As a modder, when you were designing a formspec, did you ever felt the need for allow players to specify an item without falling back to using plain itemstrings or other ugly methods? Then this mod might be useful, I guess. xD
This gives you a function which shows a simple form with a field of item buttons, one button per item. You can filter the items to display by criteria of your choosing (e.g. all Creative items, or only items with the group “crumbly”). When the player clicks a button, a callback function is called so you can do something. That's it!
Download: Version 1.1.0
Version: 1.1.0 (this is a SemVer)
Works in Minetest 5.0.0 or later
API documentation is given in the API.md.
Git repository / project page: http://repo.or.cz/minetest_select_item.git
Mandatory dependencies: None!
Optional dependency: default from Minetest Game (for formspec styling)
License of everything: MIT License