How much of an item is in a player's inventory?

Discussion in 'Plugin Development' started by justcool393, Jan 31, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    justcool393

    I've tried looking for ways to do this, but I can't seem to. Basically, I'm trying to see how much of a specific item is in an inventory.
     
  2. Offline

    Lolmewn

    What have you tried? Can't you just use .getItem or something?
     
  3. Offline

    justcool393

    I got the ItemStack, I just need to know how many items of a particular ItemStack are in the person's inventory. I tried looking for functions inside the PlayerInventory, but I can't seem to find any.
     
Thread Status:
Not open for further replies.

Share This Page