[Mod] Interchangeable Hands [hands]
Posted: Mon Jan 02, 2017 18:55
Interchangeable Hands [hands]
- Code: MIT (see LICENSE), Media: CC BY-SA 3.0
- GitHub Repository
- Download
This mod uses the function introduced in this pull request by TeTpaAka. Hands is mostly for demostration purposes for the reference of other modders or for players to mess around with. Keep in mind that the mod does not work on Minetest 0.4.14, as the feature was not introduced until Minetest 0.4.15.
The mod registers a single chatcommand (`/sethand`) and privilege (`sethand`), allowing the player to set their own hand to any node or item. Hands also has a simple API with which two example hands are registered as listed below.
Alternate Hands
- hands:grey
- hands:space
The textures aren't very good, but it allows you to get a basic and functional overview of the new feature.
Chatcommand
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
/sethand hands:grey
/sethand default:stick
The above example shows that the /sethand command works both with the hands introduced by the mod or with any other node or item already in the game. Remember to grant yourself the sethand privilege before attempting to use the chatcommand.
+
API