August 24, 201510 yr I need either a tutorial link or help on how to correctly open a door. Here is my current code, and it does not work due to it opening other doors. private void checkDoor() { Entity door = objects.closest(true, 6106); if (door.exists()) { log("Opening door."); door.interact("Open"); } else log("Cannot find door."); } Is there anyway to specify which door I need opened? Thanks in advance.
August 24, 201510 yr doorHandler.handleNextObstacle(position) or doorHandler.handleNextObstacle(entity) Where position is the position you want to walk to. Make sure the object type of the door = 0, you can use the entity debugger to do this.
Create an account or sign in to comment