Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.

49 Zeilen
880 B
Java

2011-01-29 22:50:29 +01:00
package net.minecraft.server;
import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit
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 10:49:23 +00:00
ItemStack splitWithoutUpdate(int i);
void setItem(int i, ItemStack itemstack);
2011-01-29 22:50:29 +01:00
2013-11-04 07:07:38 -06:00
String getInventoryName();
2011-01-29 22:50:29 +01:00
2013-11-04 07:07:38 -06:00
boolean k_();
2013-03-13 17:33:27 -05:00
int getMaxStackSize();
2011-01-29 22:50:29 +01:00
void update();
2011-01-29 22:50:29 +01:00
2013-03-13 17:33:27 -05:00
boolean a(EntityHuman entityhuman);
2011-09-15 01:23:52 +01:00
2012-07-29 02:33:13 -05:00
void startOpen();
2011-09-15 01:23:52 +01:00
2013-11-04 07:07:38 -06:00
void l_();
2013-03-13 17:33:27 -05:00
boolean b(int i, ItemStack itemstack);
2011-01-29 22:50:29 +01:00
// CraftBukkit start
ItemStack[] getContents();
void onOpen(CraftHumanEntity who);
void onClose(CraftHumanEntity who);
java.util.List<org.bukkit.entity.HumanEntity> getViewers();
org.bukkit.inventory.InventoryHolder getOwner();
void setMaxStackSize(int size);
int MAX_STACK = 64;
// CraftBukkit end
2011-01-29 22:50:29 +01:00
}