Beta
Gets an item from a machine inventory.
The location of the machine.
The number ID of the slot as defined when the machine was registered (see UiItemSlotElementDefinition).
The MachineItemStack or null if there is no item in the specified slot.
null
Gets an item from a machine inventory.