package net.minecraft.server; import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit public interface IInventory extends INamableTileEntity { int getSize(); boolean w_(); ItemStack getItem(int i); ItemStack splitStack(int i, int j); ItemStack splitWithoutUpdate(int i); void setItem(int i, ItemStack itemstack); int getMaxStackSize(); void update(); boolean a(EntityHuman entityhuman); void startOpen(EntityHuman entityhuman); void closeContainer(EntityHuman entityhuman); boolean b(int i, ItemStack itemstack); int getProperty(int i); void setProperty(int i, int j); int h(); void clear(); // CraftBukkit start java.util.List<ItemStack> getContents(); void onOpen(CraftHumanEntity who); void onClose(CraftHumanEntity who); java.util.List<org.bukkit.entity.HumanEntity> getViewers(); org.bukkit.inventory.InventoryHolder getOwner(); void setMaxStackSize(int size); org.bukkit.Location getLocation(); int MAX_STACK = 64; // CraftBukkit end }