blob: 63c3f85659ab7a523c30ed52f9106d15886f3273 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package net.minecraft.server;
// CraftBukkit start
import java.util.List;
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
import org.bukkit.entity.HumanEntity;
import org.bukkit.inventory.InventoryHolder;
// CraftBukkit end
public interface IInventory {
int getSize();
ItemStack getItem(int i);
ItemStack splitStack(int i, int j);
void setItem(int i, ItemStack itemstack);
String getName();
int getMaxStackSize();
void update();
boolean a(EntityHuman entityhuman);
void f();
void g();
// CraftBukkit start
ItemStack[] getContents();
void onOpen(CraftHumanEntity who);
void onClose(CraftHumanEntity who);
List<HumanEntity> getViewers();
InventoryHolder getOwner();
//CraftBukkit end
}
|