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

    void g();

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