package net.minecraft.inventory;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;

public interface IInventory
{
	int getSizeInventory();

	ItemStack getStackInSlot(int var1);

	ItemStack decrStackSize(int var1, int var2);

	ItemStack getStackInSlotOnClosing(int var1);

	void setInventorySlotContents(int var1, ItemStack var2);

	String getInventoryName();

	boolean hasCustomInventoryName();

	int getInventoryStackLimit();

	void markDirty();

	boolean isUseableByPlayer(EntityPlayer var1);

	void openInventory();

	void closeInventory();

	boolean isItemValidForSlot(int var1, ItemStack var2);
}