austinv11 / PeripheralsPlusPlus

A pseudo-port of miscperipherals, with other stuff as well!
GNU General Public License v2.0
25 stars 28 forks source link

Player Interface getStackInSlot For Input Inventory && ME Bridge maxStackSize #158

Open mura3277 opened 8 years ago

mura3277 commented 8 years ago

Currently you can get information pertaining to an itemstack from the PlayerInventory object, but you can't do the same for the input inventory.

This is extremely useful for retrieval systems since there isn't an elegant way to test to see if a slot inside the Input inventory contains the item the player actually requested. With this implemented, you can then test each slot to see if the data matches the players requested and push the item in that slot to the players inventory.

Thanks.

mura3277 commented 8 years ago

Since it seems like a really simple suggestion I'll add it here: Would it be possible for the ME Bridge to give the maxStackSize for each item?

Thanks.