As the title implies - a mod that implements a style of eating seen similarly in a certain other voxel game ;p
Code is licensed under GPL-v3+
Provided sounds are licensed under CC0 1.0 Public Domain
See mods + games with hardcoded (in mod) support here: https://content.minetest.net/collections/TPH/tph_eating_mod_supp/
Be sure to play Mantar's Exile! Which has full support from my mod (for both v3 and v4): https://content.minetest.net/packages/Mantar/exile/
You can see my mod in action in Exile v4 on exile-dev.planetofnix.com:30016 aka "Exiled From The Other Servers"
The video provided is hosted on catbox.moe (file hosting service): https://files.catbox.moe/4oe107.mp4
Holding down RMB (or whatever tph_eating.use_key is set to for player:get_player_controls() ) will make you begin to eat the food with eating sounds and upon 4 (or how many repetitions specified in API or tool), will complete eating with a burp (unless tph_eating.burping is not set to true or a tool specifies a custom end sound)
Pseudo-animation for 5.4.0+ implemented (you will see your food infront of your face and it will move with your head ;p)
Minetest 5.9 will have an issue with any version of this mod before 1.9 (spam of error logs)
Minetest 5.0.1 and 5.1.0 have odd but non-gamebreaking issues and are considered "compatible". Minetest 5.2.0 and 5.3.0 do not properly display the wield_item entity however is otherwise operational. No issues with Minetest 5.4.0 and onwards
Nice, could be better
The animation for eating is nice and the mechanic itself has potential to add another dimension of balance to food types (how long they take to eat) but the sounds are meh at worst and the burping should definitely be disabled by default. It's also a bit annoying that you can't eat repeatedly by continuing to hold down RMB; you have to release it first then start holding again to eat the next item.
Cool little mod that improves eating a lot
The animation and sounds are neat, it lets you eat even when your belly is full and doesnt sutpport most food mods and its still the best eating mod out there. Remember to use right mouse button to eat. Works with 3d apples. You cant eat mushrooms dynamically since you place them with rmb