I'd like to start this off with the fact that I'm not asking to be spoon fed the code but I'm confused. What I want to happen in simple terms: When I shift + click and item it removes all of that item type and I have the int of exactly how many were removed to add that to a custom balance for the player. My understanding of the coding method: Grab the players inventory, create an ItemStack not including an amount in the new ItemStack and if the players inventory contains that item then.. no clue exactly on how to get the exact amount of them, remove a certain amount without messing up amounts due to numerous stacks etc. Any help would be seriously appreciated. Thank you!