July 3, 20205 yr Hi! I am trying to get the walk position that the cursor is hovering over. If someone knows how to do this, please leave a message
July 3, 20205 yr 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.
July 3, 20205 yr 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.
July 3, 20205 yr Author 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?
July 3, 20205 yr 46 minutes ago, pigfarmer said: I want to get the Position coordinates like in the debugger but in code format ofc. Do you know any solutions for this? Nope. You will have to do something like what Nbacon said. Grab the tiles and filter them.
Create an account or sign in to comment