summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/IInventory.java
blob: 4cf849fa092bc5ea153d6a86a2aee459e14ab86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package net.minecraft.server;

public interface IInventory {

    int getSize();

    ItemStack getItem(int i);

    ItemStack a(int i, int j);

    void setItem(int i, ItemStack itemstack);

    String getName();

    int getMaxStackSize();

    void update();

    boolean a_(EntityHuman entityhuman);

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