Give using and building two different key bindings
TL;DR: Using (stuff like opening chests) and building are two seperate actions which are clumsily bound to the same key. This results in some annoyances and I suggest to change this.
You can both use a block and build with the right mouse button.
This results in a problem: It it not possible to directly build next to a block which is usable.
Example: Imagine you point a chest on its top and you wield dirt.
Click with the right mouse button. The chest menu opens.
Now what can you to to place the dirt on top of the chest directly?
Well, it seems this is simply not possible.
Yes, I know, it is possible to work around this by placing other nodes as a support but this approach is annoying and hacky.
Therefore, I suggest to split using and building to two key bindings.
Right click should mean building. Ideally, it means always building; if possible the meaning of this key binding should not be overwritten by anything.
And [E] (or whatever key the player chose) should mean using and only using.
“Using” here means “do something with the pointed node, I don’t know exactly what, it depends on the node type what I do here”.
Using is used (haha!) in the default subgame / game for opening doors, chests, furnaces, changing sign texts and so on. Most nodes can not be used. In this case, the use key should do nothing here when pressed.
Example under my proposal: Imagine you point a chest on its top and you wield dirt. This shall happen:
I also suggest the node callback “on_use”. It shall get called when a player presses the use key while pointing the node. It shall do nothing by default.
The callback “on_rightclick” could probably stay for a while but I think it should be dropped in the future because it’s just clumsy in my opinion. Right click is already used for building stuff, letting nodes override this breaks stuff (see 1st example).
Strangely, I saw a key binding for “use” in the config menu but it does mean something different. The only thing this key does is letting you walk faster in fast mode and as an alternative key binding for climbing down. This is not what I mean with “use”.
You can both use a block and build with the right mouse button.
This results in a problem: It it not possible to directly build next to a block which is usable.
Example: Imagine you point a chest on its top and you wield dirt.
Click with the right mouse button. The chest menu opens.
Now what can you to to place the dirt on top of the chest directly?
Well, it seems this is simply not possible.
Yes, I know, it is possible to work around this by placing other nodes as a support but this approach is annoying and hacky.
Therefore, I suggest to split using and building to two key bindings.
Right click should mean building. Ideally, it means always building; if possible the meaning of this key binding should not be overwritten by anything.
And [E] (or whatever key the player chose) should mean using and only using.
“Using” here means “do something with the pointed node, I don’t know exactly what, it depends on the node type what I do here”.
Using is used (haha!) in the default subgame / game for opening doors, chests, furnaces, changing sign texts and so on. Most nodes can not be used. In this case, the use key should do nothing here when pressed.
Example under my proposal: Imagine you point a chest on its top and you wield dirt. This shall happen:
- You press E (=the use key). The chest menu opens.
- You press the right mouse button (=the build button). The dirt gets built on the chest.
I also suggest the node callback “on_use”. It shall get called when a player presses the use key while pointing the node. It shall do nothing by default.
The callback “on_rightclick” could probably stay for a while but I think it should be dropped in the future because it’s just clumsy in my opinion. Right click is already used for building stuff, letting nodes override this breaks stuff (see 1st example).
Strangely, I saw a key binding for “use” in the config menu but it does mean something different. The only thing this key does is letting you walk faster in fast mode and as an alternative key binding for climbing down. This is not what I mean with “use”.