Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
30 Zeilen
617 B
Diff
30 Zeilen
617 B
Diff
|
@@ -1,5 +1,7 @@
|
||
|
package net.minecraft.server;
|
||
|
|
||
|
+import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit
|
||
|
+
|
||
|
public interface IInventory extends INamableTileEntity {
|
||
|
|
||
|
int getSize();
|
||
|
@@ -31,4 +33,20 @@
|
||
|
int g();
|
||
|
|
||
|
void l();
|
||
|
+
|
||
|
+ // 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
|
||
|
}
|