Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
boholder opened this issue Oct 19, 2023 · 2 comments
Open
1 of 2 tasks
Labels
enhancement Improvment on exist features plan Something still as an idea, may be implemented or discarded or sealed, discussion welcomed

Comments

@boholder
Copy link
Collaborator

boholder commented Oct 19, 2023

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.

@boholder boholder added enhancement Improvment on exist features plan Something still as an idea, may be implemented or discarded or sealed, discussion welcomed labels Oct 19, 2023
@c469591
Copy link

c469591 commented Jan 8, 2024

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.

@boholder
Copy link
Collaborator Author

boholder commented Jan 8, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvment on exist features plan Something still as an idea, may be implemented or discarded or sealed, discussion welcomed
Projects
None yet
Development

No branches or pull requests

2 participants