Jump to content

mining bot help


Tropic Psycho

Recommended Posts

iron ore has more than one object id, how do i find the closest object from multiple ids?

also how do i check if the player is mining or not, and whether or not i finished mining?

 

Entity iron = objects.closest(id1,id2,id3,id4);

 

if(!myPlayer().isAnimating())

iron.interact("Mine");

  • Like 1
Link to comment
Share on other sites

  • Chris locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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