itemStacks

val itemStacks: Array<ItemStack?>

Parameters

itemStacks

An optional array of ItemStacks to initialize the inventory with. If no array is provided, the inventory will be initialized with null values (empty slots). The length of this array should match the specified size of the inventory.