December 30, 20223 yr The interact() API is not very reliable when player is under attack. It is not moving the mouse and returning false from the method. I have tested executing InteractionEvent and getting similar results I have also tried ClickMouseEvent with EntityDestination as well as simply getMouse().move and click but they still do fail to click an object quite often What is the preferred way to interact with other entities when player is in combat?
December 31, 20223 yr 6 hours ago, Slick said: The interact() API is not very reliable when player is under attack. It is not moving the mouse and returning false from the method. I have tested executing InteractionEvent and getting similar results I have also tried ClickMouseEvent with EntityDestination as well as simply getMouse().move and click but they still do fail to click an object quite often What is the preferred way to interact with other entities when player is in combat? It's probably something with your code, because interaction code does not care about being in combat or not... Share some code and let's see what's wrong
Create an account or sign in to comment