remove
Removes all stacks in the inventory matching the given material.
Parameters
material
The material to remove
Throws
if material is null
Removes all stacks in the inventory matching the given stack.
This will only match getClassById slot if both the type and the amount of the stack match
Parameters
item
The ItemStack to match against