2011-01-29 22:50:29 +01:00
|
|
|
package net.minecraft.server;
|
|
|
|
|
|
|
|
public interface IInventory {
|
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
int getSize();
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
ItemStack getItem(int i);
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-02-23 03:37:56 +01:00
|
|
|
ItemStack a(int i, int j);
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
void setItem(int i, ItemStack itemstack);
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
String getName();
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
int getMaxStackSize();
|
2011-01-29 22:50:29 +01:00
|
|
|
|
2011-04-20 19:05:14 +02:00
|
|
|
void update();
|
2011-01-29 22:50:29 +01:00
|
|
|
|
|
|
|
boolean a_(EntityHuman entityhuman);
|
|
|
|
|
|
|
|
public abstract ItemStack[] getContents(); // CraftBukkit
|
|
|
|
}
|