Working on some GUI stuff that need to check the players inventory, and discovered that there is no way to access the player from inside the MBDMachineEvents.onUI event.
MBDMachineEvents.onUI(BLOCK_ID, (e) => {
const { player } = e.event; //This currently does not work, but it would be super useful if it did :)
});