blob: 56dc14b6f0f5b86d60f973de0e8cd2e6e5b7342c (
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
45
46
47
48
|
package net.minecraft.server;
import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit
public interface IInventory {
int getSize();
ItemStack getItem(int i);
ItemStack splitStack(int i, int j);
ItemStack splitWithoutUpdate(int i);
void setItem(int i, ItemStack itemstack);
String getInventoryName();
boolean k_();
int getMaxStackSize();
void update();
boolean a(EntityHuman entityhuman);
void startOpen();
void l_();
boolean b(int i, ItemStack itemstack);
// 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
}
|