public void mouseInteract()
  {
     int mouseX = MouseInfo.getPointerInfo().getLocation().x;
     int mouseY = MouseInfo.getPointerInfo().getLocation().y;
     if (!holdingItem && !inventoryOpen) {
      interact();
     }
     if (holdingItem && !inventoryOpen) {
      placeItemHeld(direction);
     }
     if (inventoryOpen) {
         inventoryInteract(-mouseX, -mouseY);
     }
  }