mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 11:25:55 +03:00
34 lines
862 B
Diff
34 lines
862 B
Diff
--- ../src-base/minecraft/net/minecraft/inventory/IInventory.java
|
|
+++ ../src-work/minecraft/net/minecraft/inventory/IInventory.java
|
|
@@ -4,6 +4,7 @@
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.IWorldNameable;
|
|
+import org.bukkit.craftbukkit.entity.CraftHumanEntity;
|
|
|
|
public interface IInventory extends IWorldNameable
|
|
{
|
|
@@ -39,4 +40,22 @@
|
|
int getFieldCount();
|
|
|
|
void clear();
|
|
+ // 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);
|
|
+
|
|
+ org.bukkit.Location getLocation();
|
|
+
|
|
+ int MAX_STACK = 64;
|
|
+ // CraftBukkit end
|
|
+
|
|
}
|