net.minecraft.server.IInventory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chest-server Show documentation
Show all versions of chest-server Show documentation
A spigot fork to kotlin structure and news.
The newest version!
package net.minecraft.server;
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
public interface IInventory extends INamableTileEntity {
int MAX_STACK = 64;
int getSize();
ItemStack getItem(int i);
ItemStack splitStack(int i, int j);
ItemStack splitWithoutUpdate(int i);
void setItem(int i, ItemStack itemstack);
int getMaxStackSize();
void setMaxStackSize(int size);
void update();
boolean a(EntityHuman entityhuman);
void startOpen(EntityHuman entityhuman);
void closeContainer(EntityHuman entityhuman);
boolean b(int i, ItemStack itemstack);
int getProperty(int i);
void b(int i, int j);
int g();
void l();
// CraftBukkit start
ItemStack[] getContents();
void onOpen(CraftHumanEntity who);
void onClose(CraftHumanEntity who);
java.util.List getViewers();
org.bukkit.inventory.InventoryHolder getOwner();
// CraftBukkit end
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy