prepareForAttack

fun prepareForAttack(rotation: Rotation? = null, attack: () -> Boolean)

Will prepare us for attacking using the attack function.

This includes:

  • Closing the inventory if we are simulating inventory closing

  • Unblocking if we are blocking and the tick on is 0