13
0
geforkt von Mirrors/Paper
Paper/src/main/java/net/minecraft/server/IInventory.java

51 Zeilen
881 B
Java

2011-01-29 22:50:29 +01:00
package net.minecraft.server;
// CraftBukkit start
import java.util.List;
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
import org.bukkit.entity.HumanEntity;
import org.bukkit.inventory.InventoryHolder;
// CraftBukkit end
2011-01-29 22:50:29 +01:00
public interface IInventory {
int getSize();
2011-01-29 22:50:29 +01:00
ItemStack getItem(int i);
2011-01-29 22:50:29 +01:00
ItemStack splitStack(int i, int j);
2011-01-29 22:50:29 +01:00
2012-03-01 11:49:23 +01:00
ItemStack splitWithoutUpdate(int i);
void setItem(int i, ItemStack itemstack);
2011-01-29 22:50:29 +01:00
String getName();
2011-01-29 22:50:29 +01:00
int getMaxStackSize();
2011-01-29 22:50:29 +01:00
void update();
2011-01-29 22:50:29 +01:00
2011-09-15 02:23:52 +02:00
boolean a(EntityHuman entityhuman);
2011-11-20 09:01:14 +01:00
void f();
2011-09-15 02:23:52 +02:00
2011-11-20 09:01:14 +01:00
void g();
2011-01-29 22:50:29 +01:00
// CraftBukkit start
ItemStack[] getContents();
void onOpen(CraftHumanEntity who);
void onClose(CraftHumanEntity who);
List<HumanEntity> getViewers();
InventoryHolder getOwner();
void setMaxStackSize(int size);
int MAX_STACK = 64;
//CraftBukkit end
2011-01-29 22:50:29 +01:00
}