Jump to content

How to get the walk position the mouse hovers over


Recommended Posts

Posted

When I did it had to do a hacky way.

I can't find the code but 

I made a 25x25 area with mybot as the center and used getPositions  and then filtered potions with ( s->s.isVisible() ) then filtered with something like ( s->new InteractionEvent(bot,s, new String[0]).isHover())

 

new Area( ).getPositions().stream().filter(s->s.isVisible() ).filter( s->new InteractionEvent(bot,s, new String[0]).isHover()).collect(Collectors.toList())

Tell me if this works If not ill look for my code.

 

 

Posted
1 hour ago, Gunman said:

Idk if you're talking about what the guy above is talking about or if you mean the debug tool. Settings -> Options -> Debug -> Entity hover debug, top left option.

I want to get the Position coordinates like in the debugger but in code format ofc.

Do you know any solutions for this?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...