summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/IInventory.java
blob: 80a84b4d207d124bc32171dfc62cd1acdaa82201 (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
package net.minecraft.server;

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 e();

    void t_();

    public abstract ItemStack[] getContents(); // CraftBukkit
}