I request to be able to completely disable pointing for tools (including the hand).
To implement this, I request to simply interpret the value range=0 as a special value which disables pointing.
Currently, this almost works, but when you are inside a node, you still point it.
It seems to be impossible to force the player to be completely unable to point something. There are certain uses for this (see below).
There's also a bug: If you set range=0 for the hand, it does not work at all. The range remains at the default 4 if you have the hand selected, but the range is 0 if you have an item on hand (e.g. cobblestone).
Rationale:
This is an easy and reliable way to completely disable rightclicking, mining and punching any nodes, entities or whatever.
Use cases:
Prevent punching or mining anything while the player is in a bed (using a hand overwrite)
Add a player status which temporarily disables hand pointing
Add a teleporter beacon tool which, when you leftclick, saves the position on which you stand. For tools like this, pointing wouldn't make much sense
I request to be able to completely disable pointing for tools (including the hand).
To implement this, I request to simply interpret the value
range=0
as a special value which disables pointing. Currently, this almost works, but when you are inside a node, you still point it. It seems to be impossible to force the player to be completely unable to point something. There are certain uses for this (see below). There's also a bug: If you setrange=0
for the hand, it does not work at all. The range remains at the default 4 if you have the hand selected, but the range is 0 if you have an item on hand (e.g. cobblestone).Rationale: This is an easy and reliable way to completely disable rightclicking, mining and punching any nodes, entities or whatever.
Use cases: