mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
90ac03522a
This reverts commit d6e3dff7d8
.
32 lines
813 B
Diff
32 lines
813 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/IInventory.java 2014-11-28 17:43:43.197707433 +0000
|
|
+++ src/main/java/net/minecraft/server/IInventory.java 2014-11-28 17:38:22.000000000 +0000
|
|
@@ -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<org.bukkit.entity.HumanEntity> getViewers();
|
|
+
|
|
+ org.bukkit.inventory.InventoryHolder getOwner();
|
|
+
|
|
+ void setMaxStackSize(int size);
|
|
+
|
|
+ int MAX_STACK = 64;
|
|
+ // CraftBukkit end
|
|
}
|