if(bank.isOpen()){}
Should be the same thing
.interact(TREE_NAME, "Chop"); for example
Widgets are just the overlay in the game. You won't use widgets when interacting with the actual world, just things in your inventory/bank/menus, etc
Java doesn't support pointers.
Seriously tho just read a lot of snippets