Beta
The location of the machine.
The ID of the item slot element.
The MachineItemStack or undefined if there is no item in the specified slot.
Throws a PublicError of type PublicErrorType.NotFound if there is no block at the given location, including when that location's chunk is not loaded.
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
Gets an item from a machine inventory.