--- ../work/decompile-bb26c12b/net/minecraft/server/IInventory.java 2014-11-27 08:59:46.757421600 +1100 +++ src/main/java/net/minecraft/server/IInventory.java 2014-11-27 08:42:10.168850880 +1100 @@ -1,5 +1,7 @@ package net.minecraft.server; +import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit + public interface IInventory extends INamableTileEntity { int getSize(); @@ -31,4 +33,20 @@ int g(); void l(); + + // CraftBukkit start + ItemStack[] getContents(); + + void onOpen(CraftHumanEntity who); + + void onClose(CraftHumanEntity who); + + java.util.List getViewers(); + + org.bukkit.inventory.InventoryHolder getOwner(); + + void setMaxStackSize(int size); + + int MAX_STACK = 64; + // CraftBukkit end }