--- a/net/minecraft/world/Container.java
+++ b/net/minecraft/world/Container.java
@@ -28,9 +_,7 @@
 
     void setItem(int slot, ItemStack stack);
 
-    default int getMaxStackSize() {
-        return 99;
-    }
+    int getMaxStackSize(); // CraftBukkit
 
     default int getMaxStackSize(ItemStack stack) {
         return Math.min(this.getMaxStackSize(), stack.getMaxStackSize());
@@ -123,4 +_,22 @@
             }
         }
     }
+
+    // CraftBukkit start
+    java.util.List<ItemStack> getContents();
+
+    void onOpen(org.bukkit.craftbukkit.entity.CraftHumanEntity player);
+
+    void onClose(org.bukkit.craftbukkit.entity.CraftHumanEntity player);
+
+    java.util.List<org.bukkit.entity.HumanEntity> getViewers();
+
+    @javax.annotation.Nullable org.bukkit.inventory.InventoryHolder getOwner();
+
+    void setMaxStackSize(int size);
+
+    @javax.annotation.Nullable org.bukkit.Location getLocation();
+
+    int MAX_STACK = Item.ABSOLUTE_MAX_STACK_SIZE;
+    // CraftBukkit end
 }
