package net.minecraft.server;
// CraftBukkit start
import java.util.List;
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
import org.bukkit.entity.HumanEntity;
import org.bukkit.inventory.InventoryHolder;
// CraftBukkit end
public interface IInventory {
int getSize();
ItemStack getItem(int i);
ItemStack splitStack(int i, int j);
void setItem(int i, ItemStack itemstack);
String getName();
int getMaxStackSize();
void update();
boolean a(EntityHuman entityhuman);
void f();
void g();
ItemStack[] getContents();
void onOpen(CraftHumanEntity who);
void onClose(CraftHumanEntity who);
List<HumanEntity> getViewers();
InventoryHolder getOwner();
//CraftBukkit end
}