Creates an inventory with the given number of slots. The number of slots must be higher than 0 and shorter than 2^16.
the size of the inventory
See Implementation
Creates an inventory with the given number of slots. The number of slots must be higher than 0 and shorter than 2^16.