minecraft-access icon indicating copy to clipboard operation
minecraft-access copied to clipboard

POI Locking: Make it easier for players to lock what they want to lock.

Open boholder opened this issue 2 years ago • 2 comments

Now with only the closest entity can be locked on, some players have reported that they can't lock on the Ender Dragon or the Shulker.

Some ideas:

  • Two additional keys, one for locking friendly creatures and players, and another for locking onto hostile mobs. (We’ll keep the original locking key to mark on blocks.) Three locking keys for three types of target.

  • One additional key for switching loop between three locking types.

  • [ ] Add a key combination for toggle automatically refresh locking, to lock the nearest entity. It helps in battle with monsters.
  • [x] #208

boholder avatar Oct 19 '23 13:10 boholder

Hello, I have an idea. Currently, when I'm operating, I can only attempt to change direction and lock onto a creature when there's one nearby. I feel this method isn't very efficient. Therefore, is it possible to develop a feature where I can press a key to cycle through all the creatures around me? For instance, if I press the TAB key on my keyboard, I could directly see a cow; as well as its direction and distance from me. Pressing TAB again would show me a chicken, along with its direction and distance relative to my position. Additionally, I could lock onto it so that my orientation faces the creature. Additionally, another key could be developed to toggle whether pressing the tab key shows hostile entities or non-aggressive creatures. Of course, I believe this method could also be applied to exploring other aspects, such as the surrounding environment like rocks, stairs, and so on. This way, I wouldn't need to constantly change my facing direction and angle while still being able to intuitively and quickly understand the environment and objects around me.

c469591 avatar Jan 08 '24 08:01 c469591

press a key to cycle through all the creatures around me

Tab key is a good choice!

That's what I'm thinking but, it's quite difficult to implement but it's possible, some other games also contain this lock switching feature. You need a data structure to store targets that has been locked, with the timestamp. Then you have a dynamic list of targets that the mod scanned out. Find the nearest target that haven't been locked or have been locked most long before.

Additionally, another key could be developed to toggle whether pressing the tab key shows hostile entities or non-aggressive creatures.

Y + Tab to switch modes. I can't come up with all modes right now.

Of course, I believe this method could also be applied to exploring other aspects, such as the surrounding environment like rocks, stairs, and so on. This way, I wouldn't need to constantly change my facing direction and angle while still being able to intuitively and quickly understand the environment and objects around me.

Holy, I haven't realized this feature can be used like this! That's a perfect idea!

boholder avatar Jan 08 '24 09:01 boholder