Jump to content

How to get the walk position the mouse hovers over


pigfarmer

Recommended Posts

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.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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