mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Implemented Inventory and PlayerInventory and updated StorageMinecart and Slot. Added getMaxStackSize to CraftItemStack.
25 lines
482 B
Java
25 lines
482 B
Java
package net.minecraft.server;
|
|
|
|
|
|
public interface IInventory {
|
|
|
|
public abstract int a();
|
|
|
|
public abstract ItemStack a(int i);
|
|
|
|
public abstract ItemStack a(int i, int j);
|
|
|
|
public abstract void a(int i, ItemStack itemstack);
|
|
|
|
public abstract String b();
|
|
|
|
public abstract int c();
|
|
|
|
public abstract void d();
|
|
|
|
public abstract boolean a_(EntityPlayer entityplayer);
|
|
|
|
public abstract ItemStack[] getContents(); // CraftBukkit
|
|
}
|
|
|