code: public ItemStack extract(int amount)
  	{
  		ItemStackSplitter iss = new ItemUtils.ItemStackSplitter(getItemStack());
  		iss.split(amount);
  		setItemStack(iss.source);
  		//if (hasChanged())
  		onSlotChanged();
  		return iss.split;
  	}
docs: Extract a specified <b>amount</b> from this {@link MalisisSlot}.
  
  @param amount the amount
  @return the {@link ItemStack} extracted