Peripherals++

Peripherals++

359k Downloads

Player Interface suggestion

alandoyle95 opened this issue ยท 2 comments

commented

it would be helpfull/nice if the player interface had a getAllStacks or getInventorySize method to go along with the getStackInSlot seeing there is no way for the computer to know the range of slot #'s the player has without counting or hard programming it into the turtle.

commented

I added getSize. With that information, it's pretty easy to get all of the stacks just with a loop.

commented

seems to be thoughing a Java out of bounds exception..
latest 1.3.6 build, i will build a dev build and test to see if still happens..

http://pastebin.com/HVjPJzvX